import type * as App from '../../App.js'; import * as Response from '../../internal/Response.js'; import * as Adapter from './internal/Adapter.js'; import * as Idempotency from './internal/Idempotency.js'; /** Mounts MPP credential validation and broadcast routes. */ export declare function mpp(options: mpp.Options): import("hono/hono-base").HonoBase; }; payload: unknown; source?: string | undefined; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { error: { code: "body_invalid"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { success: true; } | { error: { code: "already_used" | "broadcast_failed" | "expired" | "insufficient_funds" | "invalid_payment" | "policy_denied" | "screen_rejected" | "simulation_failed" | "temporarily_unavailable" | "unknown" | "unsupported"; message?: string | undefined; }; success: false; }; outputFormat: "json"; status: 200; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; }; }; } & { "/v1/mpp/broadcast": { $post: { output: { error: { code: "api_key_malformed"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { error: { code: "body_invalid"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; } | { output: { receipt: { externalId?: string | undefined; method: string; reference: string; timestamp: string; }; success: true; } | { error: { code: "already_used" | "broadcast_failed" | "expired" | "insufficient_funds" | "invalid_payment" | "policy_denied" | "screen_rejected" | "simulation_failed" | "temporarily_unavailable" | "unknown" | "unsupported"; message?: string | undefined; }; success: false; }; outputFormat: "json"; status: 200; input: { json: { challenge: { [x: string]: unknown; description?: string | undefined; expires?: string | undefined; id: string; intent: string; method: string; opaque?: string | undefined; realm: string; request: Record; }; payload: unknown; source?: string | undefined; }; }; }; }; }, "/", "/v1/mpp/broadcast">; export declare namespace mpp { /** MPP relay capabilities. */ type Options = { /** Account used to sponsor Tempo pull transactions. */ feePayer?: Adapter.create.Options['feePayer'] | undefined; /** Reports an unexpected relay failure without exposing credential data. */ reportUnknown?: Adapter.create.Options['reportUnknown'] | undefined; /** Atomic durable state for MPPX replay protection and idempotent broadcast responses. */ state: Idempotency.claim.Options['state']; /** Screening-cache duration. @default `Ttl.days(1)` */ screeningTtl?: number | undefined; /** Per-transaction fee cap (decimal USD string). @default '1.00' */ txFeeLimit?: string | undefined; }; } //# sourceMappingURL=App.d.ts.map