@phantomstudios/ft-lib
Version:
A collection of Javascript UI & tracking utils for FT sites
19 lines • 678 B
TypeScript
export declare class consentMonitor {
protected _consent: boolean;
protected _devHosts: string[];
protected _isDevEnvironment: boolean;
protected _hostname: string;
protected _isInitialized: boolean;
constructor(hostname?: string, devHosts?: string[] | string);
get consent(): boolean;
get devHosts(): string[] | string;
get isDevEnvironment(): boolean;
get isInitialized(): boolean;
getCookieValue: (name: string) => string;
init: () => void;
cookieConsentTest: () => void;
setDevCookieHandler: () => void;
permutiveConsentOn: () => void;
permutiveConsentOff: () => void;
}
//# sourceMappingURL=index-old.d.ts.map