import { CdpCookie } from '../../cdp/index.js';
import { BrowserService } from './browser.js';
import { GlobalsService, GlobalValue } from './globals.js';
export declare class CheckpointService {
    protected browser: BrowserService;
    protected globals: GlobalsService;
    constructor(browser: BrowserService, globals: GlobalsService);
    get page(): import("../../cdp/page.js").Page;
    sendCheckpoint(_checkpointData: CheckpointData): Promise<void>;
    createCheckpoint(title: string): Promise<CheckpointData>;
    restoreCheckpoint(checkpoint: CheckpointData): Promise<void>;
    private performCheckpointNavigation;
    private getStorageItems;
    private compileStorageRestoreScript;
}
export interface CheckpointData {
    method: string;
    url: string;
    title: string;
    cookies: CdpCookie[];
    postParams: Array<[string, string]>;
    localStorage: Array<[string, string]>;
    sessionStorage: Array<[string, string]>;
    globals: GlobalValue[];
}
export interface CdpStorageId {
    securityOrigin: string;
    isLocalStorage: boolean;
}
//# sourceMappingURL=checkpoint.d.ts.map