import type { Page } from 'playwright'; /** * Decides whether a container's attributes identify it as a real cookie / * consent / privacy surface. Used by Strategy 2 to avoid clicking ordinary CTAs * (Continue / OK / Got it) inside unrelated containers. * * Exported for testing. The predicate is also stringified and injected into the * in-browser `page.evaluate` walker so there is a single source of truth. */ export declare function isCookieConsentContainer(combinedAttrs: string, role: string): boolean; export declare const CAPTURE_HIDE_STYLE_ID = "autokap-capture-hide-style"; export declare function getCaptureHideCSS(): string; export declare function ensureCaptureHideStyles(page: Page): Promise; export declare function dismissCookiesAndWidgets(page: Page): Promise<{ dismissed: boolean; method: string | null; }>;