export declare class AiFinPayError extends Error { constructor(message: string); } export declare class X402Error extends AiFinPayError { } export declare class FundingTimeoutError extends AiFinPayError { } export declare class SeatNotFoundError extends AiFinPayError { } /** The 402 response did not match any known facilitator flavor. */ export declare class UnsupportedFacilitatorError extends X402Error { } /** Required payment exceeds the caller's maxAmountUsd budget. */ export declare class PaymentTooExpensiveError extends X402Error { } /** Detected a known facilitator we can't pay yet (e.g. EVM not wired). */ export declare class FacilitatorNotImplementedError extends X402Error { } /** * Shape safe to cross a process boundary (MCP tool result, logs, chat). * Only the error name, message, and explicitly allowlisted public fields — * never seeds, secret keys, keystore JSON, bearer JWTs, or signatures. */ export interface SafeErrorShape { name: string; message: string; code?: string; kind?: string; stage?: string; txHash?: string; txRef?: string; quoteId?: string; } /** Serialize any thrown value to SafeErrorShape. Non-Errors become UnknownError. */ export declare function toSafeError(err: unknown): SafeErrorShape; //# sourceMappingURL=errors.d.ts.map