import type { Fingerprint, VaultOptions } from '../types'; /** * Persistent fingerprint store. Because a {@link Fingerprint} is fully * serialisable and re-applied verbatim, saving one and reloading it in a later * session reproduces the exact same browser identity — the key capability that * the previous version lacked. Files are plain JSON named `.json`. */ export declare class FingerprintVault { readonly dir: string; constructor(options?: VaultOptions); private file; private ensureDir; /** Persist a fingerprint under `id`. */ save(id: string, fingerprint: Fingerprint): void; /** Load a fingerprint, or `null` if absent / unreadable. */ load(id: string): Fingerprint | null; has(id: string): boolean; /** Load `id` if present, otherwise generate via `factory`, persist, and return. */ loadOrCreate(id: string, factory: () => Fingerprint): Fingerprint; delete(id: string): void; /** List stored fingerprint ids. */ list(): string[]; } //# sourceMappingURL=vault.d.ts.map