import type { BrowserActionResult, BrowserClickInput, BrowserDriverFactory, BrowserOpenInput, BrowserScreenshotInput, BrowserSessionConfig, BrowserSnapshot } from '../types.js';
/**
 * Owns one browser run: driver lifecycle, policy checks, snapshots, and evidence.
 */
export declare class BrowserSessionService {
    private readonly config;
    private readonly driverFactory;
    private driver?;
    private latestSnapshot?;
    private readonly evidence;
    private readonly policy;
    constructor(config: BrowserSessionConfig, driverFactory: BrowserDriverFactory);
    open(input: BrowserOpenInput): Promise<BrowserActionResult<{
        finalUrl: string;
    }>>;
    snapshot(): Promise<BrowserActionResult<BrowserSnapshot>>;
    click(input: BrowserClickInput): Promise<BrowserActionResult<{
        finalUrl: string;
    }>>;
    private completePolicyDeniedClick;
    screenshot(input?: BrowserScreenshotInput): Promise<BrowserActionResult<{
        path: string;
    }>>;
    close(): Promise<BrowserActionResult>;
    private getDriver;
    private currentUrl;
    private record;
    private actionId;
    private evidenceTarget;
    private now;
}
//# sourceMappingURL=service.d.ts.map