/// <reference types="jest" />
import { RootCausePage } from '../interfaces';
import { PuppeteerPageHooker } from '../PuppeteerPageHooker';
export declare function runPageInstrumentorTest<TPage extends RootCausePage>(testName: string, fullTestFileName: string, page: TPage, testCode: (wrappedPage: TPage) => Promise<void>): Promise<SetupPageInstrumentorForTestingReturn<TPage>['hooks']>;
interface SetupPageInstrumentorForTestingReturn<TPage extends RootCausePage> {
    wrappedPage: TPage;
    pageInstrumentor: PuppeteerPageHooker;
    hooks: {
        beforeAllHook: jest.Mock<any, any>;
        afterAllHook: jest.Mock;
        beforeEachHook: jest.Mock;
        afterEachHook: jest.Mock;
    };
}
export declare function setupPageInstrumentorForTesting<TPage extends RootCausePage>(testName: string, fullTestFileName: string, page: TPage): Promise<SetupPageInstrumentorForTestingReturn<TPage>>;
export declare function cleanJestMockFunctionCalls(calls: any[]): any[];
export {};
