UNPKG

@ambitiondev/vue-cookiebot

Version:

Composable for Cookiebot in Vue applications

11 lines 546 B
import { type ICookiebotOptions } from "@ambitiondev/cookiebot-common"; import { type MaybeRef } from "vue"; export declare function useCookiebot(settings?: Partial<ICookiebotOptions>): { consentBanner: () => Promise<void>; cookieDeclaration: (ref: MaybeRef<HTMLElement | null>) => Promise<void>; destroyConsentBanner: () => Promise<void>; destroyCookieDeclaration: (ref: MaybeRef<HTMLElement | null>) => Promise<void>; renew: () => void; resetConsentBanner: () => Promise<void>; }; //# sourceMappingURL=cookiebot.d.ts.map