import type { PrivateKey } from '../../domain/keypair.js'; import { BaseError } from '../../framework/error/mod.js'; declare class SigningError extends BaseError { readonly cause: unknown; readonly _tag = "SigningError"; constructor(cause: unknown); } export declare function buildSign(): (privateKey: PrivateKey, payload: object | string) => Promise<{ error?: never; value: string; } | { error: SigningError; value?: never; }>; export {}; //# sourceMappingURL=sign.d.ts.map