declare module "browser-canvas-fingerprinting" { type OutputOption = 0 | 1 | 2; /** * Get the fingerprint or the data * @param key - The site key. Use it to generate a hash that is unique per site. * @param option - Output option (0: unique string, 1: deprecated, 2: canvas element) * @returns Promise resolving to the requested output type */ export default function fingerprint(key: string, option?: OutputOption): Promise; /** * Get the data used to generate the fingerprint * @returns Promise resolving to an array of string data */ export function getData(): Promise; export async function exportCanvasData(canvas) : Promise; export async function isExtensionFuckingCanvas() : Promise; }