import { ReactWrapper, CommonWrapper } from 'enzyme'; import React from 'react'; import { act } from 'react-dom/test-utils'; import { WithPolarisTestProviderOptions } from '../components'; export { ReactWrapper, act }; declare type AnyWrapper = ReactWrapper | CommonWrapper; export declare function findByTestID(root: ReactWrapper, id: string): ReactWrapper>; export declare function trigger(wrapper: AnyWrapper, keypath: string, ...args: any[]): any; export declare function mountWithAppProvider

(node: React.ReactElement

, context?: WithPolarisTestProviderOptions): ReactWrapper>;