export type PortableProfileRecoveryEnvelope = Readonly<{ version: 'gdc-portable-profile-recovery-v1'; profileId: string; walletKeyDerivationId: string; kdf: Readonly<{ name: 'scrypt'; saltBase64Url: string; cost: number; blockSize: number; parallelization: number; keyLength: 32; }>; cipher: 'A256GCM'; ivBase64Url: string; ciphertextBase64Url: string; tagBase64Url: string; }>; export type PortableProfileRecoveryProtection = Readonly<{ cost?: number; blockSize?: number; parallelization?: number; }>; export declare function createPortableProfileRecoveryEnvelope(input: Readonly<{ profileId: string; walletSeed: string; walletKeyDerivationId: string; recoverySecret: string; protection?: PortableProfileRecoveryProtection; }>): PortableProfileRecoveryEnvelope; export declare function openPortableProfileRecoveryEnvelope(input: Readonly<{ envelope: PortableProfileRecoveryEnvelope; recoverySecret: string; }>): Readonly<{ profileId: string; walletSeed: string; walletKeyDerivationId: string; }>;