/** Load order is the point: `@hono/zod-openapi` peers on `zod`, so importing it patches `.openapi()` onto the shared `ZodType` prototype. `buildQuerySchemas` runs at module scope below, and ESM evaluates imports first, so the method exists by the time the decorator is called. Without this import the schemas silently build undecorated whenever this module happens to load before anything else pulls in the OpenAPI layer. */ import { z } from '@hono/zod-openapi'; export declare const FieldsSchema: z.ZodOptional, z.ZodArray]>>, FilterSchema: z.ZodOptional>, z.ZodPipe>, z.ZodType>>]>>; fields: z.ZodOptional, z.ZodArray]>>; include: z.ZodOptional>>>; }, z.core.$strip>>>; order: z.ZodOptional>; limit: z.ZodOptional; offset: z.ZodOptional; skip: z.ZodOptional; }, z.core.$strip>, z.ZodPipe>, z.ZodObject<{ where: z.ZodOptional>, z.ZodPipe>, z.ZodType>>]>>; fields: z.ZodOptional, z.ZodArray]>>; include: z.ZodOptional>>>; }, z.core.$strip>>>; order: z.ZodOptional>; limit: z.ZodOptional; offset: z.ZodOptional; skip: z.ZodOptional; }, z.core.$strip>>]>>, InclusionSchema: z.ZodOptional>>>; }, z.core.$strip>>>, LimitSchema: z.ZodOptional, OffsetSchema: z.ZodOptional, OrderBySchema: z.ZodOptional>, SkipSchema: z.ZodOptional, WhereSchema: z.ZodUnion>, z.ZodPipe>, z.ZodType>>]>; /** * The query shape of a route that accepts a `filter`. The framework's own `find`, `findById` and * `findOne` use it, and a hand-written route gets the same contract by naming it. * * `filter` needs no `.optional()` at the call site - {@link FilterSchema} already carries one, so a * second is a no-op and so is a trailing `.partial()`. * * Extend it rather than rebuilding it when a route takes more than `filter`: * `FilterQuerySchema.extend({ q: z.string().optional() })`. */ export declare const FilterQuerySchema: z.ZodObject<{ filter: z.ZodOptional>, z.ZodPipe>, z.ZodType>>]>>; fields: z.ZodOptional, z.ZodArray]>>; include: z.ZodOptional>>>; }, z.core.$strip>>>; order: z.ZodOptional>; limit: z.ZodOptional; offset: z.ZodOptional; skip: z.ZodOptional; }, z.core.$strip>, z.ZodPipe>, z.ZodObject<{ where: z.ZodOptional>, z.ZodPipe>, z.ZodType>>]>>; fields: z.ZodOptional, z.ZodArray]>>; include: z.ZodOptional>>>; }, z.core.$strip>>>; order: z.ZodOptional>; limit: z.ZodOptional; offset: z.ZodOptional; skip: z.ZodOptional; }, z.core.$strip>>]>>; }, z.core.$strip>; /** * The query shape of a route that accepts conditions and nothing else - `count` and anything shaped * like it. `where` is OPTIONAL here. * * `updateBy` and `deleteBy` deliberately do not use this. Their `where` is optional in the query * because it may ride in the body instead; the handler refuses a request that carries it in neither * place - a missing one there rewrites or deletes every row in the table. */ export declare const WhereQuerySchema: z.ZodObject<{ where: z.ZodOptional>, z.ZodPipe>, z.ZodType>>]>>; }, z.core.$strip>; //# sourceMappingURL=index.d.ts.map