export declare class SecurityFactory { private static ensureSubtle; private static ensureCrypto; private static toHex; private static fromHex; private static timingSafeEqualHex; static hmacSha256(data: string, secret: string): Promise; static verifyHmacSha256(data: string, secret: string, expectedDigestHex: string): Promise; static deriveAesGcmKeyFromSecret(secret: string, saltHex?: string, iterations?: number): Promise<{ key: CryptoKey; saltHex: string; }>; static encryptAesGcm(plaintext: string, key: CryptoKey, ivHex?: string, tagLength?: number): Promise<{ ivHex: string; ctHex: string; tagHex: string; }>; static decryptAesGcm(encObj: { ivHex: string; ctHex: string; tagHex: string; }, key: CryptoKey, tagLength?: number): Promise; }