cookie-though
Version:
Easy to use, minimal footprint application that manages cookie preferences. <br> So delicious, you'll never need another library again 😄
8 lines (7 loc) • 411 B
TypeScript
import { Config, CookiePreferences } from './types';
export declare const configure: (conf: Config) => void;
export declare const init: (conf: Config) => void;
export declare const onPreferencesChanged: (listener: (cookiePreferences: CookiePreferences) => void) => void;
export declare const getPreferences: () => CookiePreferences;
export declare const show: () => void;
export declare const hide: () => void;