import type { Page } from 'puppeteer'; import type { AfpOptions, Fingerprint } from '../types'; /** * Orchestrates a single fingerprint identity: it pairs robust CDP-level * emulation (user-agent + client hints at the network layer, timezone, * geolocation, viewport) with the in-page JS patch script. Doing both is what * makes the spoof coherent end-to-end — e.g. the UA HTTP header matches * `navigator.userAgent`, and `Intl` matches the CDP timezone. */ export declare class Afp { fingerprint: Fingerprint; private script; private features; private constructor(); /** * Build an identity from options, resolving proxy → geo coherence first when * a proxy is supplied without an explicit geo. */ static create(options?: AfpOptions): Promise; /** Apply every protection layer to a page. */ applyToPage(page: Page): Promise; /** * Re-randomise volatile noise (canvas/audio/webgl) without changing the stable * identity, and re-inject. Takes effect on the next navigation. */ rotateFingerprint(page: Page): Promise; } //# sourceMappingURL=afp.d.ts.map