import type { EncryptionPrivateKey } from '../../domain/keypair.js'; import type { Result } from '../../framework/types/result.js'; import { BaseError } from '../../framework/error/mod.js'; export declare class DecryptError extends BaseError { readonly cause: unknown; readonly _tag = "DecryptError"; constructor(cause: unknown); } export interface DecryptDto { privateJwk: EncryptionPrivateKey; encryptedContents: string; } export declare function buildDecrypt(): (dto: DecryptDto) => Promise>; //# sourceMappingURL=decrypt.d.ts.map