import { ReactElement } from 'react'; /** * More info: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#configuring-your-testing-environment * Reference implementation: https://github.com/testing-library/react-testing-library/blob/c80809a956b0b9f3289c4a6fa8b5e8cc72d6ef6d/src/act-compat.js#L5 */ export declare const setupAct: () => Act; export interface Act { (work: () => void): boolean; } export declare const root: HTMLElement; export declare const act: Act; /** * Render function local to testing that shared the same instance of the reconciler. * * This is needed otherwise React complains that we are sharing a context across different renderers. */ export declare const render: (ui: ReactElement) => void;