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<any, any> | CommonWrapper<any, any>;
export declare function findByTestID(root: ReactWrapper<any, any>, id: string): ReactWrapper<any, any, React.Component<{}, {}, any>>;
export declare function trigger(wrapper: AnyWrapper, keypath: string, ...args: any[]): any;
export declare function mountWithAppProvider<P>(node: React.ReactElement<P>, context?: WithPolarisTestProviderOptions): ReactWrapper<P, any, React.Component<{}, {}, any>>;
