import type * as App from '../../App.js'; import type * as FundingDepositAddress from '../../internal/funding/DepositAddress.js'; import type * as FundingProvider from '../../internal/funding/Provider.js'; import type * as FundingTransferReconciliation from '../../internal/funding/TransferReconciliation.js'; import type * as Webhooks from '../../internal/Webhooks.js'; /** * Mounts the Funding & Bridge API, including quotes, inventory, reusable * deposit addresses, detected deposits, and transfers. * * ```ts * App.create(options).route('/', data()).route('/', funding()) * ``` */ export declare function funding(options?: funding.Options): import("hono/hono-base").HonoBase | import("hono/types").MergeSchemaPath<{ "/v1/funding/quotes": { $get: { output: null; outputFormat: "body"; status: 402; input: { query: { destinationToken?: string | string[]; provider?: string | string[]; sourceAmount: string | string[]; sourceAmountUnits?: string | string[]; sourceChain: string | string[]; sourceToken: string | 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: { query: { destinationToken?: string | string[]; provider?: string | string[]; sourceAmount: string | string[]; sourceAmountUnits?: string | string[]; sourceChain: string | string[]; sourceToken: string | 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: { query: { destinationToken?: string | string[]; provider?: string | string[]; sourceAmount: string | string[]; sourceAmountUnits?: string | string[]; sourceChain: string | string[]; sourceToken: string | 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: { query: { destinationToken?: string | string[]; provider?: string | string[]; sourceAmount: string | string[]; sourceAmountUnits?: string | string[]; sourceChain: string | string[]; sourceToken: string | 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: { query: { destinationToken?: string | string[]; provider?: string | string[]; sourceAmount: string | string[]; sourceAmountUnits?: string | string[]; sourceChain: string | string[]; sourceToken: string | string[]; }; }; } | { output: { error: { code: "query_invalid"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { query: { destinationToken?: string | string[]; provider?: string | string[]; sourceAmount: string | string[]; sourceAmountUnits?: string | string[]; sourceChain: string | string[]; sourceToken: string | string[]; }; }; } | { output: { error: { code: "upstream_error"; details?: readonly import("../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 502; input: { query: { destinationToken?: string | string[]; provider?: string | string[]; sourceAmount: string | string[]; sourceAmountUnits?: string | string[]; sourceChain: string | string[]; sourceToken: string | string[]; }; }; } | { output: { data: { destinationAmount: { baseUnits: string; currency: string; decimals: number; formatted: string; }; destinationAmountMin?: { 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; }; id: string; provider: { id: string; name: string; }; quality: { estimatedSeconds?: number | undefined; liquiditySource: string; sourceDetail?: string | undefined; tier: "liquid" | "thin"; }; quote: { expiresAt?: string | undefined; sampledAt: string; }; sourceAmount: { baseUnits: string; currency: string; decimals: number; formatted: 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; }; }[]; }; outputFormat: "json"; status: 200; input: { query: { destinationToken?: string | string[]; provider?: string | string[]; sourceAmount: string | string[]; sourceAmountUnits?: string | string[]; sourceChain: string | string[]; sourceToken: string | string[]; }; }; }; }; }, "/"> | import("hono/types").MergeSchemaPath<{ "/v1/funding/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/funding/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; 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; status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding"; statusReason?: { code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch"; 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/funding/transfers/:id{ftr_[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: "funding_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; 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; status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding"; statusReason?: { code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch"; message: string; } | undefined; updatedAt: string; version: number; }; outputFormat: "json"; status: 200; input: { param: { id: string; }; }; }; }; } & { "/v1/funding/transfers/:id{ftr_[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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; } | { output: { error: { code: "funding_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}`; }; }; } | { output: { createdAt: string; destinationAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountMin?: { 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; status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding"; statusReason?: { code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch"; message: string; } | undefined; updatedAt: string; version: number; }; outputFormat: "json"; status: 200; input: { param: { id: string; }; } & { json: { transactionHash: `0x${string}`; }; }; } | { output: { error: { code: "funding_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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; } | { 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}`; }; }; }; }; } & { "/v1/funding/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; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: 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; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: 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; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: 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; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { 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; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: 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; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { 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; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { 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; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { 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; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { 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; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; } | { output: { createdAt: string; destinationAmount?: { baseUnits: string; currency: string; decimals: number; formatted: string; } | undefined; destinationAmountMin?: { 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; status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding"; statusReason?: { code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch"; 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; destinationToken: string; mode: "exactDestination" | "exactSource"; provider?: string | undefined; recipient: string; sender: string; slippageBps?: number | undefined; sourceChain: string; sourceToken: string; }; }; }; }; } & { "/v1/funding/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/funding/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/funding/: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/funding/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: "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: { 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/funding/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/funding/deposit-addresses/:id{fda_[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: "funding_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/funding/deposit-addresses/:id{fda_[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: "funding_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: "funding_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/funding/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: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "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/funding/deposits/:id{fdp_[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: "funding_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: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "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 funding { /** Inbound funding route configuration. */ type Options = { /** Enqueues one deposit address for asynchronous reconciliation. */ dispatchDepositReconciliation?: ((message: FundingProvider.Webhook.receive.Dispatchable) => Promise) | undefined; /** Enqueues one registered transfer for destination reconciliation. */ dispatchTransferReconciliation?: ((message: FundingTransferReconciliation.Message) => Promise) | undefined; /** Enqueues webhook updates staged with transfer mutations. */ dispatchTransferUpdates?: ((references: readonly Webhooks.QueueReference[]) => Promise) | undefined; /** Registers a created address with a source-chain observer. */ registerDepositAddress?: ((address: FundingDepositAddress.Public) => Promise) | undefined; }; } //# sourceMappingURL=App.d.ts.map