import * as z from 'zod/mini'; import type * as App from '../../../App.js'; import * as Response from '../../../internal/Response.js'; /** Zod schemas owned by the raw RPC passthrough. */ export declare namespace schema { /** JSON-RPC request identifier. */ const Id: z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniNull]>; /** JSON-RPC error payload. */ const Error: z.ZodMiniObject<{ code: z.ZodMiniNumber; data: z.ZodMiniOptional; message: z.ZodMiniString; }, z.core.$strip>; /** JSON-RPC request payload. */ const Request: z.ZodMiniObject<{ id: z.ZodMiniOptional, z.ZodMiniNumber, z.ZodMiniNull]>>; jsonrpc: z.ZodMiniLiteral<"2.0">; method: z.ZodMiniString; params: z.ZodMiniOptional; }, z.core.$strip>; /** JSON-RPC response payload. */ const Response: z.ZodMiniObject<{ error: z.ZodMiniOptional; data: z.ZodMiniOptional; message: z.ZodMiniString; }, z.core.$strip>>; id: z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniNull]>; jsonrpc: z.ZodMiniLiteral<"2.0">; result: z.ZodMiniOptional; }, z.core.$strip>; /** JSON-RPC request or batch request payload. */ const RequestBody: z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniNull]>>; jsonrpc: z.ZodMiniLiteral<"2.0">; method: z.ZodMiniString; params: z.ZodMiniOptional; }, z.core.$strip>, z.ZodMiniArray, z.ZodMiniNumber, z.ZodMiniNull]>>; jsonrpc: z.ZodMiniLiteral<"2.0">; method: z.ZodMiniString; params: z.ZodMiniOptional; }, z.core.$strip>>]>; /** JSON-RPC response or batch response payload. */ const ResponseBody: z.ZodMiniUnion; data: z.ZodMiniOptional; message: z.ZodMiniString; }, z.core.$strip>>; id: z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniNull]>; jsonrpc: z.ZodMiniLiteral<"2.0">; result: z.ZodMiniOptional; }, z.core.$strip>, z.ZodMiniArray; data: z.ZodMiniOptional; message: z.ZodMiniString; }, z.core.$strip>>; id: z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniNull]>; jsonrpc: z.ZodMiniLiteral<"2.0">; result: z.ZodMiniOptional; }, z.core.$strip>>]>; } /** Creates the raw Tempo RPC passthrough handler. */ export declare function rpc(): import("hono/hono-base").HonoBase; }; } | { output: { error: { code: "api_key_invalid" | "api_key_missing"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 401; input: { param: Record<"chain", string | undefined>; }; } | { output: { error: { code: "api_key_forbidden" | "api_key_ip_forbidden"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 403; input: { param: Record<"chain", string | undefined>; }; } | { output: { error: { code: "payment_required" | "rate_limit_exceeded"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 429; input: { param: Record<"chain", string | undefined>; }; } | { output: { error: { code: "chain_id_invalid"; details?: readonly Response.error.Detail[] | undefined; message: string; }; requestId: string; }; outputFormat: "json"; status: 400; input: { param: Record<"chain", string | undefined>; }; } | { output: { error?: { code: number; data?: import("hono/utils/types").JSONValue; message: string; } | undefined; id: string | number | null; jsonrpc: "2.0"; result?: import("hono/utils/types").JSONValue; }[] | { error?: { code: number; data?: import("hono/utils/types").JSONValue; message: string; } | undefined; id: string | number | null; jsonrpc: "2.0"; result?: import("hono/utils/types").JSONValue; }; outputFormat: "json"; status: 200; input: { param: Record<"chain", string | undefined>; }; }; }; }, "/", "/rpc/:chain{(mainnet|testnet|[0-9]+)}?">; //# sourceMappingURL=rpc.d.ts.map