import { TransportSecretKey, VetKey } from "@dfinity/vetkeys"; export interface TransportKeyPair { secret: TransportSecretKey; publicKey: Uint8Array; } export declare function prepareTransportKey(): TransportKeyPair; export declare function decryptVetKey(encryptedKey: Uint8Array, viewPublicKey: Uint8Array, transportSecret: TransportSecretKey, identity?: Uint8Array): VetKey; /** * Serialize a VetKey to a 0x-prefixed hex string for persistent storage. */ export declare function serializeVetKey(vetKey: VetKey): string; /** * Deserialize a VetKey from a hex string (with or without 0x prefix). * * @throws StealthError if the hex string cannot be deserialized into a valid VetKey. */ export declare function deserializeVetKey(hex: string): VetKey; //# sourceMappingURL=recipient.d.ts.map