import type { EncryptionKeys } from '../types'; export declare function createMLKEMEncapsulation(publicKeyHex: string): EncryptionKeys; export declare function encryptPayload(sharedSecret: Uint8Array, data: Uint8Array | string | object): { encrypted: Uint8Array; nonce: Uint8Array; }; export declare function decryptPayload(encryptedData: string, sharedSecret: Uint8Array, nonce: Uint8Array): T; export declare function getEnclavePublicKey(timeoutMs?: number): Promise; export declare function generateEncryptionKeys(timeoutMs?: number): Promise; export declare function keyIdFromKEK(kek: Uint8Array, context?: string, length?: number): Uint8Array; export declare function encryptWithDEK(dek: Uint8Array, plaintext: Uint8Array): Uint8Array; export declare function encryptMetadataWithDEK(dek: Uint8Array, metadata: string): string; export declare function wrapDEK(kek: Uint8Array, dek: Uint8Array): Uint8Array; export declare function unwrapDEK(kek: Uint8Array, wrappedDEK: Uint8Array): Uint8Array; export declare function decryptWithDEK(dek: Uint8Array, encryptedContent: Uint8Array): Uint8Array; export declare function generateKidAndWrappedDEK(publicKeyHex: string, dek: Uint8Array, sharedSecret: Uint8Array): { kid: string; wrappedDEK: string; wrappedDEKNonce: string; };