import type { EncryptionPublicKey } from '../../domain/keypair.js'; import type { Result } from '../../framework/types/result.js'; import { BaseError } from '../../framework/error/mod.js'; export declare class EncryptError extends BaseError { readonly cause: unknown; readonly _tag = "EncryptError"; constructor(cause: unknown); } export interface EncryptDto { publicJwk: EncryptionPublicKey; contents: string; } export declare function buildEncrypt(): (dto: EncryptDto) => Promise>; //# sourceMappingURL=encrypt.d.ts.map