import { Browser, Page } from '../../cdp/index.js';
import { Configuration } from '../../config.js';
import { Logger } from '../../logger.js';
import { PlaywrightService } from '../services/playwright.js';
export declare const CHROME_PORT: import("../../config.js").PropertyDecl<number>;
export declare const CHROME_ADDRESS: import("../../config.js").PropertyDecl<string>;
export declare class BrowserService extends Browser {
    protected _config: Configuration;
    protected playwright: PlaywrightService;
    private _currentPage;
    constructor(logger: Logger, _config: Configuration, playwright: PlaywrightService);
    onSessionStart(): Promise<void>;
    onSessionFinish(): Promise<void>;
    syncConfig(): void;
    connect(): Promise<void>;
    disconnect(): Promise<void>;
    getChromePort(): number;
    attach(targetId: string): Promise<void>;
    isAttached(): boolean;
    isAttachedTo(targetId: string): boolean;
    detach(): void;
    get page(): Page;
    getCurrentPage(): Page | null;
    getCurrentPlaywrightPage(): import("playwright-core").Page;
    fetchCurrentPlaywrightPage(): Promise<import("playwright-core").Page>;
    openNewTab(): Promise<void>;
    closeOtherTabs(): Promise<void>;
}
//# sourceMappingURL=browser.d.ts.map