import puppeteer from 'puppeteer';
import { NetworkSetup } from './perf-options';
declare type ProfileParams = {
    useCache: boolean;
    url: URL;
    throttlingRate: number;
    network: NetworkSetup;
    waitFor?: number | string;
    afterPageLoaded?: () => any;
};
declare type BrowserLaunchOptions = {
    headless: boolean;
    timeout: number;
    ignoreDefaultArgs: boolean;
    args: string[] | undefined;
    product: 'chrome';
    executablePath: string | undefined;
};
export declare function runProfilingSession(browserLaunchOptions: BrowserLaunchOptions, profileOptions: ProfileParams, numberOfRuns: number, outputTracesTo: string): Promise<{
    metrics: puppeteer.Metrics;
    performanceEntries: PerformanceEntry[];
}[]>;
export {};
