import type { Table } from 'drizzle-orm'; import * as v from 'valibot'; /** * The input contract every list endpoint shares. Built from runtime column * lists, so the schema's own inferred type cannot name the columns; callers * restate it with the literals their configuration carries. Runtime shape and * the restated type are the same object. */ export declare function buildListInputSchema(table: Table, options: { filterableColumns: readonly string[]; sortableColumns: readonly string[]; }): v.OptionalSchema, v.IntegerAction, v.MinValueAction]>, undefined>; readonly offset: v.OptionalSchema, v.IntegerAction, v.MinValueAction]>, undefined>; readonly cursor: v.OptionalSchema, undefined>; readonly sort: v.OptionalSchema, undefined>; readonly order: v.OptionalSchema, undefined>; readonly q: v.OptionalSchema, v.MaxLengthAction]>, undefined>; readonly count: v.OptionalSchema, undefined>; readonly filters: v.OptionalSchema, undefined>; }, undefined>, undefined>; /** * The input contract of a live view (`GET /api/{table}:live`): the list * contract narrowed to what a stream can honor. No text search, no pagination * — membership is decided per streamed record on the server, which only * equality-style filters allow. */ export declare function buildLiveInputSchema(table: Table, options: { filterableColumns: readonly string[]; sortableColumns: readonly string[]; }): v.OptionalSchema, v.IntegerAction, v.MinValueAction]>, undefined>; readonly sort: v.OptionalSchema, undefined>; readonly order: v.OptionalSchema, undefined>; readonly filters: v.OptionalSchema, undefined>; }, undefined>, undefined>; //# sourceMappingURL=list-input-schema.d.ts.map