import type * as App from '../../App.js'; import type * as RoutesDepositAddress from '../../internal/routes/DepositAddress.js'; import type * as RoutesObservability from '../../internal/routes/Observability.js'; import type * as RoutesProvider from '../../internal/routes/Provider.js'; import type * as RoutesTransferReconciliation from '../../internal/routes/TransferReconciliation.js'; import type * as RoutesTransferSubsidy from '../../internal/routes/TransferSubsidy.js'; import type * as Webhooks from '../../internal/Webhooks.js'; /** * Mounts the Routes API, including quotes, inventory, reusable * deposit addresses, detected deposits, and transfers. * * ```ts * App.create(options).route('/', data()).route('/', routes()) * ``` */ export declare function routes(options?: routes.Options): import("hono/hono-base").HonoBase | import("hono/types").MergeSchemaPath<{ "/v1/routes/chains": { $get: { output: null; outputFormat: "body"; status: 402; input: {}; } | { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: {}; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: {}; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: {}; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: {}; } | { output: { data: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; tokens: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }[]; }[]; }; outputFormat: "json"; status: 200; input: {}; }; }; }, "/"> | import("hono/types").MergeSchemaPath<{ "/v1/routes/providers": { $get: { output: null; outputFormat: "body"; status: 402; input: {}; } | { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: {}; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: {}; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: {}; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: {}; } | { output: { data: { id: string; name: string; }[]; }; outputFormat: "json"; status: 200; input: {}; }; }; }, "/"> | import("hono/types").MergeSchemaPath<{ "/v1/routes/transfers": { $get: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { query?: { cursor?: string | string[]; include?: string | string[]; limit?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { query?: { cursor?: string | string[]; include?: string | string[]; limit?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { query?: { cursor?: string | string[]; include?: string | string[]; limit?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { query?: { cursor?: string | string[]; include?: string | string[]; limit?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "query_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { query?: { cursor?: string | string[]; include?: string | string[]; limit?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { query?: { cursor?: string | string[]; include?: string | string[]; limit?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { query?: { cursor?: string | string[]; include?: string | string[]; limit?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { data: { createdAt: string; destinationAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountMin?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountRequired?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; destinationTransactionHashes?: string[] | undefined; fees: { amount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; side: "destination" | "source"; token: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; type: "provider"; }[]; id: string; method: "depositAddress" | "transaction"; mode: "exactDestination" | "exactSource"; provider: { id: string; name: string; }; quote: { expiresAt: string; sampledAt: string; }; recipient: string; refundAddress?: string | undefined; refundAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; refundTransactionHashes?: string[] | undefined; sender?: string | undefined; sourceAmount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; sourceAmountMax?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; sourceTransactionHashes?: string[] | undefined; subsidize: boolean; status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding"; statusReason?: { code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed"; message: string; } | undefined; updatedAt: string; version: number; }[]; meta?: { totalCountCapped: boolean; totalCount: number; } | undefined; nextCursor: string | null; }; outputFormat: "json"; status: 200; input: { query?: { cursor?: string | string[]; include?: string | string[]; limit?: string | string[]; status?: string | string[]; } | undefined; }; }; }; } & { "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}": { $get: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { param: { id: string; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { param: { id: string; }; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { param: { id: string; }; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; }; } | { output: { error: { code: "param_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; }; } | { output: { error: { code: "routes_transfer_not_found"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 404; input: { param: { id: string; }; }; } | { output: { createdAt: string; destinationAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountMin?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountRequired?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; destinationTransactionHashes?: string[] | undefined; fees: { amount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; side: "destination" | "source"; token: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; type: "provider"; }[]; id: string; method: "depositAddress" | "transaction"; mode: "exactDestination" | "exactSource"; provider: { id: string; name: string; }; quote: { expiresAt: string; sampledAt: string; }; recipient: string; refundAddress?: string | undefined; refundAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; refundTransactionHashes?: string[] | undefined; sender?: string | undefined; sourceAmount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; sourceAmountMax?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; sourceTransactionHashes?: string[] | undefined; subsidize: boolean; status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding"; statusReason?: { code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed"; message: string; } | undefined; updatedAt: string; version: number; }; outputFormat: "json"; status: 200; input: { param: { id: string; }; }; }; }; } & { "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}/source-transactions": { $post: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "body_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "param_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "not_implemented"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 501; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "routes_transfer_not_found"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 404; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { createdAt: string; destinationAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountMin?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountRequired?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; destinationTransactionHashes?: string[] | undefined; fees: { amount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; side: "destination" | "source"; token: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; type: "provider"; }[]; id: string; method: "depositAddress" | "transaction"; mode: "exactDestination" | "exactSource"; provider: { id: string; name: string; }; quote: { expiresAt: string; sampledAt: string; }; recipient: string; refundAddress?: string | undefined; refundAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; refundTransactionHashes?: string[] | undefined; sender?: string | undefined; sourceAmount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; sourceAmountMax?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; sourceTransactionHashes?: string[] | undefined; subsidize: boolean; status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding"; statusReason?: { code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed"; message: string; } | undefined; updatedAt: string; version: number; }; outputFormat: "json"; status: 200; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "routes_transfer_not_awaiting_source"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 409; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "source_transaction_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "source_transaction_pending"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 409; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; } | { output: { error: { code: "source_transaction_conflict"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 409; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; } | { transactionHashes: `0x${string}`[]; }; }; }; }; } & { "/v1/routes/transfers": { $post: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "body_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "quote_not_available"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 404; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "idempotency_conflict"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 409; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "idempotency_in_progress"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 409; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "billing_past_due" | "billing_required" | "routes_subsidy_not_enabled"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "not_implemented"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 501; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { createdAt: string; destinationAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountMin?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountRequired?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; destinationTransactionHashes?: string[] | undefined; fees: { amount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; side: "destination" | "source"; token: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; type: "provider"; }[]; id: string; method: "depositAddress" | "transaction"; mode: "exactDestination" | "exactSource"; provider: { id: string; name: string; }; quote: { expiresAt: string; sampledAt: string; }; recipient: string; refundAddress?: string | undefined; refundAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; refundTransactionHashes?: string[] | undefined; sender?: string | undefined; sourceAmount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; sourceAmountMax?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; sourceTransactionHashes?: string[] | undefined; subsidize: boolean; status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding"; statusReason?: { code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed"; message: string; } | undefined; updatedAt: string; version: number; action: { calls: { data: string; to: string; value: string; }[]; type: "evm:calls"; }; }; outputFormat: "json"; status: 200; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "routes_subsidy_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "subsidy_inventory_unavailable"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 503; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "subsidy_signer_unavailable"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 503; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain?: string | undefined; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; }; }; } & { "/v1/routes/transfers/vault": { $post: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; mode: "exactDestination" | "exactSource"; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; vaultAddress: string; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; mode: "exactDestination" | "exactSource"; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; vaultAddress: string; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; mode: "exactDestination" | "exactSource"; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; vaultAddress: string; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; mode: "exactDestination" | "exactSource"; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; vaultAddress: string; }; }; } | { output: { error: { code: "body_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; mode: "exactDestination" | "exactSource"; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; vaultAddress: string; }; }; } | { output: { error: { code: "not_implemented"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 501; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; mode: "exactDestination" | "exactSource"; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; vaultAddress: string; }; }; }; }; } & { "/v1/routes/transfers/zone": { $post: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain: string; destinationToken: string; mode: "exactDestination" | "exactSource"; recipient: string; recipientFallback: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain: string; destinationToken: string; mode: "exactDestination" | "exactSource"; recipient: string; recipientFallback: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain: string; destinationToken: string; mode: "exactDestination" | "exactSource"; recipient: string; recipientFallback: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain: string; destinationToken: string; mode: "exactDestination" | "exactSource"; recipient: string; recipientFallback: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { output: { error: { code: "body_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain: string; destinationToken: string; mode: "exactDestination" | "exactSource"; recipient: string; recipientFallback: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { output: { error: { code: "not_implemented"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 501; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationChain: string; destinationToken: string; mode: "exactDestination" | "exactSource"; recipient: string; recipientFallback: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; }; }; }, "/"> | import("hono/types").MergeSchemaPath<{ "/webhooks/routes/:providerId": { $post: { output: null; outputFormat: "body"; status: 204; input: { param: { providerId: string; }; }; } | { output: null; outputFormat: "body"; status: 400; input: { param: { providerId: string; }; }; } | { output: null; outputFormat: "body"; status: 401; input: { param: { providerId: string; }; }; } | { output: null; outputFormat: "body"; status: 404; input: { param: { providerId: string; }; }; }; }; } & { "/v1/routes/deposit-addresses": { $post: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "body_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "idempotency_conflict"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 409; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "idempotency_in_progress"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 409; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "billing_past_due" | "billing_required" | "routes_subsidy_not_enabled"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "deposit_address_not_available"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 404; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { error: { code: "routes_deposit_address_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; } | { output: { address: string; createdAt: string; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; id: string; provider: { id: string; name: string; }; recipient: string; refundAddress: string; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; status: "action-required" | "active"; subsidize: boolean; updatedAt: string; } | { address: string; createdAt: string; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; id: string; provider: { id: string; name: string; }; recipient: string; refundAddress: string; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; status: "action-required" | "active"; subsidize: boolean; updatedAt: string; destinationAmount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; destinationAmountMin?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; fees: { amount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; side: "destination" | "source"; token: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; type: "provider"; }[]; quote: { expiresAt?: string | undefined; sampledAt: string; }; sourceAmount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; }; outputFormat: "json"; status: 200; input: { header: { 'idempotency-key': string; }; } & { json: { amount: string; destinationToken: string; recipient: string; refundAddress: string; sourceChain: string; sourceToken: string; subsidize?: boolean | undefined; }; }; }; }; } & { "/v1/routes/deposit-addresses": { $get: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { query?: { cursor?: string | string[]; limit?: string | string[]; } | undefined; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { query?: { cursor?: string | string[]; limit?: string | string[]; } | undefined; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { query?: { cursor?: string | string[]; limit?: string | string[]; } | undefined; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { query?: { cursor?: string | string[]; limit?: string | string[]; } | undefined; }; } | { output: { error: { code: "query_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { query?: { cursor?: string | string[]; limit?: string | string[]; } | undefined; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { query?: { cursor?: string | string[]; limit?: string | string[]; } | undefined; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { query?: { cursor?: string | string[]; limit?: string | string[]; } | undefined; }; } | { output: { data: { address: string; createdAt: string; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; id: string; provider: { id: string; name: string; }; recipient: string; refundAddress: string; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; status: "action-required" | "active"; subsidize: boolean; updatedAt: string; }[]; nextCursor: string | null; }; outputFormat: "json"; status: 200; input: { query?: { cursor?: string | string[]; limit?: string | string[]; } | undefined; }; }; }; } & { "/v1/routes/deposit-addresses/:id{rda_[A-Za-z0-9_-]+}": { $get: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { param: { id: string; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { param: { id: string; }; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { param: { id: string; }; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; }; } | { output: { error: { code: "param_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; }; } | { output: { address: string; createdAt: string; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; id: string; provider: { id: string; name: string; }; recipient: string; refundAddress: string; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; status: "action-required" | "active"; subsidize: boolean; updatedAt: string; }; outputFormat: "json"; status: 200; input: { param: { id: string; }; }; } | { output: { error: { code: "routes_deposit_address_not_found"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 404; input: { param: { id: string; }; }; }; }; } & { "/v1/routes/deposit-addresses/:id{rda_[A-Za-z0-9_-]+}/reconcile": { $post: { output: null; outputFormat: "body"; status: 202; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { param: { id: string; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { param: { id: string; }; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { param: { id: string; }; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; }; } | { output: { error: { code: "param_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; }; } | { output: { error: { code: "routes_deposit_address_not_found"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 404; input: { param: { id: string; }; }; } | { output: { error: { code: "routes_deposit_address_not_active"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 409; input: { param: { id: string; }; }; } | { output: { error: { code: "not_implemented"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 501; input: { param: { id: string; }; }; }; }; } & { "/v1/routes/deposits": { $get: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { query?: { depositAddress?: string | string[]; cursor?: string | string[]; destinationToken?: string | string[]; include?: string | string[]; limit?: string | string[]; provider?: string | string[]; recipient?: string | string[]; sourceChain?: string | string[]; sourceToken?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { query?: { depositAddress?: string | string[]; cursor?: string | string[]; destinationToken?: string | string[]; include?: string | string[]; limit?: string | string[]; provider?: string | string[]; recipient?: string | string[]; sourceChain?: string | string[]; sourceToken?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { query?: { depositAddress?: string | string[]; cursor?: string | string[]; destinationToken?: string | string[]; include?: string | string[]; limit?: string | string[]; provider?: string | string[]; recipient?: string | string[]; sourceChain?: string | string[]; sourceToken?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { query?: { depositAddress?: string | string[]; cursor?: string | string[]; destinationToken?: string | string[]; include?: string | string[]; limit?: string | string[]; provider?: string | string[]; recipient?: string | string[]; sourceChain?: string | string[]; sourceToken?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "query_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { query?: { depositAddress?: string | string[]; cursor?: string | string[]; destinationToken?: string | string[]; include?: string | string[]; limit?: string | string[]; provider?: string | string[]; recipient?: string | string[]; sourceChain?: string | string[]; sourceToken?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { query?: { depositAddress?: string | string[]; cursor?: string | string[]; destinationToken?: string | string[]; include?: string | string[]; limit?: string | string[]; provider?: string | string[]; recipient?: string | string[]; sourceChain?: string | string[]; sourceToken?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { query?: { depositAddress?: string | string[]; cursor?: string | string[]; destinationToken?: string | string[]; include?: string | string[]; limit?: string | string[]; provider?: string | string[]; recipient?: string | string[]; sourceChain?: string | string[]; sourceToken?: string | string[]; status?: string | string[]; } | undefined; }; } | { output: { data: { createdAt: string; depositAddressId: string; detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined; destinationAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountRequired?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; destinationTransactionHashes?: readonly string[] | undefined; id: string; provider: { id: string; name: string; }; recipient: string; refundAddress: string; refundAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; refundTransactionHashes?: readonly string[] | undefined; sender?: string | undefined; sourceAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; sourceTransactionHashes: readonly string[]; sourceTransferIndex?: number | undefined; status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling"; statusReason?: { code: "billing_past_due" | "billing_required" | "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed"; message: string; } | undefined; updatedAt: string; }[]; meta?: { totalCountCapped: boolean; totalCount: number; } | undefined; nextCursor: string | null; }; outputFormat: "json"; status: 200; input: { query?: { depositAddress?: string | string[]; cursor?: string | string[]; destinationToken?: string | string[]; include?: string | string[]; limit?: string | string[]; provider?: string | string[]; recipient?: string | string[]; sourceChain?: string | string[]; sourceToken?: string | string[]; status?: string | string[]; } | undefined; }; }; }; } & { "/v1/routes/deposits/:id{rdp_[A-Za-z0-9_-]+}": { $get: { output: { error: { code: "api_key_malformed"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { param: { id: string; }; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { param: { id: string; }; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { param: { id: string; }; }; } | { output: { error: { code: "unauthorized"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: { id: string; }; }; } | { output: { error: { code: "param_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { id: string; }; }; } | { output: { error: { code: "routes_deposit_not_found"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 404; input: { param: { id: string; }; }; } | { output: { createdAt: string; depositAddressId: string; detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined; destinationAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountRequired?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; destinationToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; destinationTransactionHashes?: readonly string[] | undefined; id: string; provider: { id: string; name: string; }; recipient: string; refundAddress: string; refundAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; refundTransactionHashes?: readonly string[] | undefined; sender?: string | undefined; sourceAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; sourceChain: { addressFormat: "base58" | "base58check" | "hex"; id: string; kind: "evm" | "solana" | "tron"; name: string; }; sourceToken: { address: string; currency: string; decimals: number; name: string; standard: string; symbol: string; tokenKey: string; verified: boolean; }; sourceTransactionHashes: readonly string[]; sourceTransferIndex?: number | undefined; status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling"; statusReason?: { code: "billing_past_due" | "billing_required" | "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed"; message: string; } | undefined; updatedAt: string; }; outputFormat: "json"; status: 200; input: { param: { id: string; }; }; }; }; }, "/">, "/", "/">; export declare namespace routes { /** Routes group configuration. */ type Options = { /** Enqueues one deposit address for asynchronous reconciliation. */ dispatchDepositReconciliation?: ((message: RoutesProvider.Webhook.receive.Dispatchable) => Promise) | undefined; /** Enqueues one registered transfer for destination reconciliation. */ dispatchTransferReconciliation?: ((message: RoutesTransferReconciliation.Message) => Promise) | undefined; /** Enqueues webhook updates staged with transfer mutations. */ dispatchTransferUpdates?: ((references: readonly Webhooks.QueueReference[]) => Promise) | undefined; /** Records completed route lifecycle intervals. */ recordLifecycleInterval?: ((interval: RoutesObservability.LifecycleInterval) => Promise) | undefined; /** Read-only destination subsidy inventory, when settlement is configured. */ transferSubsidy?: RoutesTransferSubsidy.Inventory | undefined; /** Registers a created address with a source-chain observer. */ registerDepositAddress?: ((address: RoutesDepositAddress.Public) => Promise) | undefined; }; } //# sourceMappingURL=App.d.ts.map