import type { CookieBannerClient } from "../client"; import type { BannerConfig, Regulation } from "../types"; export type ProboState = "loading" | "banner" | "panel" | "hidden"; export interface ConsentDraft { [category: string]: boolean; } export declare class ProboElement extends HTMLElement { protected focusFirst(): void; protected findAncestor(tagName: string): T | null; protected scheduleValidation(fn: () => void): void; protected warn(message: string): void; protected emitValidation(missing: string[]): void; } export interface ProboRootElement extends ProboElement { readonly client: CookieBannerClient; readonly bannerConfig: BannerConfig; readonly state: ProboState; readonly reopenWidget: string; readonly consentDraft: ConsentDraft; readonly gpcApplied: boolean; readonly regulation: Regulation | null; readonly consentMode: "OPT_IN" | "OPT_OUT" | null; readonly reopenState: ProboState; setState(state: ProboState): void; updateDraft(category: string, value: boolean): void; } //# sourceMappingURL=base.d.ts.map