/// import { IncomingMessage } from "http"; export declare class BrowserFingerprint { options: { cookieKey?: string; toSetCookie?: boolean; onlyStaticElements?: boolean; settings?: { [key: string]: any; }; }; savedHashedHostName: string; savedHashedPid: number | string; constructor(options?: {}); /** * The goal is to come up with as many *potentially* unique traits for the connection and add them to the elementsHash. * The collection of all the elementsHash keys will *hopefully* be unique enough for fingerprinting * Then, we save this hash in a cookie for later retrieval */ fingerprint(req: IncomingMessage): { fingerprint: string; headersHash: Record; elementsHash: Record; }; hashedHostName(): string; hashedPid(): string | number; parseCookies(req: IncomingMessage): Record; calculateHashFromElements(elementsHash: Record): string; sortAndStringObject(o: { [key: string]: any; }): { [key: string]: any; }; }