import { Consent, ConsentRequirement, ConsentState } from './types.js'; export declare const getConsentCookie: ({ adapter, name, }: { adapter?: () => Consent | undefined; name: string; }) => Consent | undefined; export declare const setConsentCookie: ({ consent, maxAge, name, domain, path, }: { consent: Consent; maxAge?: number; name: string; domain?: string; path?: string; }) => void; export declare const shouldShowConsentDialog: (requirement: ConsentRequirement, consent: Consent | undefined) => boolean; export declare const convertBooleanToConsentValue: (formValue: boolean | undefined) => ConsentState; export declare const convertBooleanConsentObjectToConsentObject: (consent: Partial>, requirement: ConsentRequirement) => Consent; export declare const buildRequirementsObject: ({ functional, statistics, }: ConsentRequirement) => { statistics?: true | undefined; functional?: true | undefined; };