export interface ChromeEvent {
    name: string;
    ph?: string;
    cat?: string;
    ts?: number;
    pid?: number;
    tid?: number;
    id?: number;
    args?: {
        [key: string]: any;
    };
    id2?: {
        local?: string;
        global?: string;
    };
}
export declare class JavaScriptTracer {
    static startTime: number;
    static events: ChromeEvent[];
    static layer: string;
    static output: string;
    static session: import("node:inspector").Session;
    static initJavaScriptTrace(layer: string, output: string): Promise<void>;
    static initCpuProfiler(): void;
    static cleanupJavaScriptTrace(): Promise<void>;
    static getTs(): number;
    static getCommonEv(): {
        tid: number;
        pid: number;
        ts: number;
        cat: string;
    };
    static pushEvent(event: ChromeEvent): void;
    static startAsync(events: ChromeEvent): void;
    static endAsync(events: ChromeEvent): void;
}
