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 indexer passthrough. */ export declare namespace schema { /** Structured result returned by the indexer `query` endpoint. */ const Response: z.ZodMiniObject<{ ok: z.ZodMiniBoolean; columns: z.ZodMiniArray>; rows: z.ZodMiniArray>; row_count: z.ZodMiniNumber; engine: z.ZodMiniOptional>; query_time_ms: z.ZodMiniOptional>; }, z.core.$strip>; /** Error envelope returned by the upstream indexer. */ const Error: z.ZodMiniObject<{ ok: z.ZodMiniLiteral; error: z.ZodMiniString; }, z.core.$strip>; /** Tempo error envelope returned before a query reaches the indexer. */ const RequestError: z.ZodMiniObject<{ error: z.ZodMiniObject<{ code: z.ZodMiniEnum<{ [x: string]: string; }> | z.ZodMiniString; details: z.ZodMiniOptional; path: z.ZodMiniOptional, z.ZodMiniNumber]>>>; }, z.core.$strip>>>; message: z.ZodMiniString; }, z.core.$strip>; requestId: z.ZodMiniString; }, z.core.$strip>; /** Either error envelope that a rejected indexer request can return. */ const BadRequest: z.ZodMiniUnion; error: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ error: z.ZodMiniObject<{ code: z.ZodMiniEnum<{ [x: string]: string; }> | z.ZodMiniString; details: z.ZodMiniOptional; path: z.ZodMiniOptional, z.ZodMiniNumber]>>>; }, z.core.$strip>>>; message: z.ZodMiniString; }, z.core.$strip>; requestId: z.ZodMiniString; }, z.core.$strip>]>; /** Tempo error envelope returned when the upstream indexer cannot be reached. */ const TempoUpstreamError: z.ZodMiniObject<{ error: z.ZodMiniObject<{ code: z.ZodMiniEnum<{ [x: string]: string; }> | z.ZodMiniString; details: z.ZodMiniOptional; path: z.ZodMiniOptional, z.ZodMiniNumber]>>>; }, z.core.$strip>>>; message: z.ZodMiniString; }, z.core.$strip>; requestId: z.ZodMiniString; }, z.core.$strip>; /** Either error envelope returned when the indexer cannot complete a request. */ const UpstreamFailure: z.ZodMiniUnion; error: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ error: z.ZodMiniObject<{ code: z.ZodMiniEnum<{ [x: string]: string; }> | z.ZodMiniString; details: z.ZodMiniOptional; path: z.ZodMiniOptional, z.ZodMiniNumber]>>>; }, z.core.$strip>>>; message: z.ZodMiniString; }, z.core.$strip>; requestId: z.ZodMiniString; }, z.core.$strip>]>; /** Server-Sent Event stream returned for live indexer queries. */ const EventStream: z.ZodMiniString; } /** Creates the raw indexer (TIDX) passthrough handler. */ export declare function indexer(): import("hono/hono-base").HonoBase; //# sourceMappingURL=indexer.d.ts.map