import type * as App from '../../../App.js'; import * as Valuation from './valuation.js'; /** * Composes the `/v1/addresses/:address/*` route surface from the * address-scoped sub-routers exported by each resource module. The handlers, * schemas, and paths live with the resource they describe (activities, * balances, valuation); this composer only aggregates them so docs grouping * stays by tag while URLs stay nested under the parent resource. * * Only subject-relative resources live here — rows that cannot be interpreted * without the path address (activity classification, held-token balances, * holdings valuation). Plain filtered views of canonical collections are * reached via search params instead (`GET /transactions?address=…`, * `GET /transfers?address=…`, `GET /transactions/receipts?address=…`). */ export declare function addresses(options?: addresses.Options): import("hono/hono-base").HonoBase | import("hono/types").MergeSchemaPath<{ "/v1/addresses/:address/valuation": { $get: { output: null; outputFormat: "body"; status: 402; input: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; } | undefined; }; } | { 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: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; } | undefined; }; } | { output: { error: { code: "address_invalid"; details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; } | undefined; }; } | { output: { address: `0x${string}`; amount: string; currency: string; id: string; pricing: { asOf: string; basis: "nominal"; source: string; } | null; unpriced: string[]; }; outputFormat: "json"; status: 200; input: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; } | undefined; }; }; }; }, "/"> | import("hono/types").MergeSchemaPath<{ "/v1/addresses/:address/balances": { $get: { output: null; outputFormat: "body"; status: 402; input: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: string | string[]; } | undefined; }; } | { 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: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: 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: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: string | string[]; } | undefined; }; } | { output: { error: { code: "address_invalid"; details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: string | string[]; } | undefined; }; } | { output: { data: { amount: string; currency: string; decimals: number; feeEligible?: boolean | undefined; formatted: string; id: string; token: { address: `0x${string}`; currency: string; decimals: number; id: string; logoUri?: string | undefined; name: string; symbol: string; verified: boolean; }; valuation?: { amount: string; currency: string; } | null | undefined; }[]; meta?: { valuation?: { asOf: string; basis: "nominal"; source: string; } | undefined; totalCount?: number | undefined; totalCountCapped?: boolean | undefined; } | undefined; nextCursor: string | null; }; outputFormat: "json"; status: 200; input: { param: { address: `0x${string}`; }; } & { query?: { chainId?: string | string[]; currency?: string | string[]; cursor?: string | string[]; feeEligible?: string | string[]; include?: string | string[]; limit?: string | string[]; page?: string | string[]; 'valuation.currency'?: string | string[]; verified?: string | string[]; } | undefined; }; }; }; } & { "/v1/addresses/:address/balances/:token": { $get: { output: null; outputFormat: "body"; status: 402; input: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: string | string[]; } | undefined; }; } | { 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: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: 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: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: 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: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: 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: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: 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: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: 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: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: string | string[]; } | undefined; }; } | { output: { error: { code: "token_not_found"; details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 404; input: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: string | string[]; } | undefined; }; } | { output: { error: { code: "address_invalid"; details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: string | string[]; } | undefined; }; } | { output: { amount: string; currency: string; decimals: number; feeEligible?: boolean | undefined; formatted: string; id: string; token: { address: `0x${string}`; currency: string; decimals: number; id: string; logoUri?: string | undefined; name: string; symbol: string; verified: boolean; }; valuation?: { amount: string; currency: string; } | null | undefined; }; outputFormat: "json"; status: 200; input: { param: { address: `0x${string}`; token: `0x${string}`; }; } & { query?: { chainId?: string | string[]; 'valuation.currency'?: string | string[]; } | undefined; }; }; }; }, "/">, "/", "/">; export declare namespace addresses { /** Options for the address-scoped route composer. */ type Options = { /** FX configuration for the valuation endpoint. */ fx?: Valuation.addresses.Fx | undefined; }; } //# sourceMappingURL=addresses.d.ts.map