/**
 * @file Setup recording of Cookie and LocalStorage API use
 * @author Robert Riemann <robert.riemann@edps.europa.eu>
 * @copyright European Data Protection Supervisor (2019)
 * @license EUPL-1.2
 */
import { Page } from "puppeteer";
import { Logger } from "winston";
export interface CollectedCookieEvent {
    type: "Cookie.HTTP" | "Cookie.JS";
    location: string;
    raw: string;
    stack: {}[];
    data: CollectedCookie[];
}
export interface CollectedCookie {
    key: string;
    value: string;
    expires: string;
    domain: string;
    path: string;
    creation: string;
    secure?: boolean;
    httpOnly?: boolean;
    sameSite?: "none" | "lax" | "strict";
    event_meta_data?: {};
}
export interface CollectedLocalStorage {
    type: string;
    data: {};
    raw: {};
    origin: string;
    location: string;
    stack: {}[];
    timestamp: string;
}
export declare class CookieRecorder {
    private page;
    private logger;
    constructor(page: Page, logger: Logger);
    collectedCookies: CollectedCookieEvent[];
    collectedLocalStorage: CollectedLocalStorage[];
    setup_cookie_recording(): Promise<void>;
}
