export interface BrowserSession {
    sessionId: string;
    url: string;
    page: unknown;
    browser: unknown;
    createdAt: string;
    viewport?: {
        width: number;
        height: number;
    };
    deviceScaleFactor?: number;
}
export interface CreateSessionOptions {
    url: string;
    headless?: boolean;
    viewport?: {
        width: number;
        height: number;
    };
    deviceScaleFactor?: number;
}
export declare function getActiveBrowserSession(): BrowserSession | undefined;
export declare function setActiveBrowserSession(session: BrowserSession | undefined): void;
export declare function getBrowserSessionDir(projectRoot?: string, sessionId?: string): string;
export declare function createBrowserSession(options: CreateSessionOptions): Promise<BrowserSession>;
export declare function closeBrowserSession(session?: BrowserSession): Promise<void>;
