export type ConsentData = Record; type Callback = (consent: ConsentData) => void; export declare class ConsentManager { private _ready; private _hasResponse; private _snapshot; private readonly _readyListeners; private readonly _changeListeners; get ready(): boolean; get hasResponse(): boolean; has(category: string): boolean; getAll(): ConsentData; subscribe(cb: Callback): () => void; onReady(cb: Callback): () => void; onChange(cb: Callback): () => void; /** @internal Called by CookieBannerClient when consent state is first resolved. */ _setReady(consent: ConsentData, hasResponse: boolean): void; /** @internal Called by CookieBannerClient when consent changes after user action. */ _notify(consent: ConsentData): void; } export declare function getConsent(): ConsentManager; export {}; //# sourceMappingURL=consent.d.ts.map