/// <reference types="node" />
declare const chrome: any;
declare const setTimeout: any;
declare const require: any;
declare const fetch: any;
declare const btoa: any, atob: any;
declare const console: any;
declare const self: any;
declare const localStorage: any;
declare const URL: any;
declare const thenChrome: any;
declare var Base64: {
    _keyStr: string;
    encode: (input: any) => string;
    decode: (input: any) => string;
    _utf8_encode: (string: any) => string;
    _utf8_decode: (utftext: any) => string;
};
declare function getBackendPort(): Promise<unknown>;
declare function setBackendPort(backendPort: any): Promise<unknown>;
declare class TTab {
    target: any;
    tab: any;
    cookiesBefore: any;
    detached: boolean;
    hasReceivedRequestInterceptedEvent: boolean;
    constructor();
    open(tab: any, pageUrl?: string): Promise<void>;
    _getTargetArg(): {
        targetId: any;
    };
    log(...args: any[]): void;
    onDetach: (source: any, reason: any) => void;
    onEvent: (target: any, type: any, info: any) => void;
    _setupDebugger(): Promise<unknown>;
    _setupRequestInterception(): Promise<void>;
    _handleInterceptedRequest(info: any): Promise<void>;
}
declare let initInterval: NodeJS.Timeout;
