/** * This file is used to create the includeComponent function as well as the interfaces each of the * fingerprint components must implement. * */ interface componentInterface { [key: string]: string | string[] | number | boolean | componentInterface; } declare function getFingerprintData(): Promise; declare function getFingerprint(includeData?: false): Promise; declare function getFingerprint(includeData: true): Promise<{ hash: string; data: componentInterface; }>; declare function getFingerprintPerformance(): Promise<{ [key: string]: any; }>; interface optionsInterface { exclude?: string[]; include?: string[]; webgl_runs?: number; canvas_runs?: number; permissions_to_check?: PermissionName[]; retries?: number; timeout?: number; } declare function setOption(key: K, value: optionsInterface[K]): void; declare function getVersion(): string; export { getFingerprint, getFingerprintData, getFingerprintPerformance, getVersion, setOption };