import * as React from 'react'; import { ReactWrapper } from 'enzyme'; import * as ReactTestUtils from 'react-dom/test-utils'; export declare function findNodes(wrapper: ReactWrapper, className: string): ReactWrapper; export declare function expectNodes(wrapper: ReactWrapper, className: string, n: number): void; export declare function expectOne(wrapper: ReactWrapper, className: string): void; export declare function expectMissing(wrapper: ReactWrapper, className: string): void; /** @deprecated Use fake timers and `jest.runAllTimers()` instead */ export declare function delay(millisecond: number): Promise; /** * Mounts the element attached to a child of document.body. This is primarily for tests involving * event handlers (which don't work right unless the element is attached). * @deprecated Use `safeMount` from `@fluentui/test-utilities` instead */ export declare function mountAttached(element: React.ReactElement

): ReactWrapper; export declare function renderIntoDocument(element: React.ReactElement): HTMLElement; export declare function mockEvent(targetValue?: string): ReactTestUtils.SyntheticEventData; /** * Hack for forcing Jest to run pending promises * https://github.com/facebook/jest/issues/2157#issuecomment-897935688 */ export declare function flushPromises(): Promise; /** * Verify that the given element and its parents do NOT have `aria-hidden` set. */ export declare function expectNoHiddenParents(element: HTMLElement): void;