/** * File Integrity — HMAC-SHA256 signing and verification * * Used to protect local data files (e.g., usage counters) from manual editing. * Tampered files are rejected and treated as empty. * * @since v2.5.2 */ export interface SignedData { data: T; hmac: string; } /** Sign data with HMAC-SHA256 */ export declare function signData(data: T, key: Buffer): SignedData; /** Verify HMAC signature and return data if valid, null if tampered */ export declare function verifySignedData(signed: SignedData, key: Buffer): T | null; //# sourceMappingURL=file-integrity.d.ts.map