/// import * as React from 'react'; import ReactDOM from 'react-dom'; import type { InternalMountOptions, InternalUnmountOptions, MountOptions, MountReturn, UnmountArgs } from './types'; export declare let lastMountedReactDom: (typeof ReactDOM) | undefined; /** * Create an `mount` function. Performs all the non-React-version specific * behavior related to mounting. The React-version-specific code * is injected. This helps us to maintain a consistent public API * and handle breaking changes in React's rendering API. * * This is designed to be consumed by `npm/react{16,17,18}`, and other React adapters, * or people writing adapters for third-party, custom adapters. */ export declare const makeMountFn: (type: 'mount' | 'rerender', jsx: React.ReactNode, options?: MountOptions, rerenderKey?: string | undefined, internalMountOptions?: InternalMountOptions | undefined) => globalThis.Cypress.Chainable; /** * Create an `unmount` function. Performs all the non-React-version specific * behavior related to unmounting. * * This is designed to be consumed by `npm/react{16,17,18}`, and other React adapters, * or people writing adapters for third-party, custom adapters. */ export declare const makeUnmountFn: (options: UnmountArgs, internalUnmountOptions: InternalUnmountOptions) => Cypress.Chainable>; declare const _mount: (jsx: React.ReactNode, options?: MountOptions) => Cypress.Chainable; export declare const createMount: (defaultOptions: MountOptions) => (element: React.ReactElement, options?: Partial | undefined) => Cypress.Chainable; /** @deprecated Should be removed in the next major version */ export default _mount; export interface JSX extends Function { displayName: string; }