import { z } from 'zod'; /** Sort direction for list operations */ export declare const SortDirectionSchema: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; export type SortDirection = z.infer; /** Base pagination parameters used by all list operations */ export declare const PaginationParamsSchema: z.ZodObject<{ limit: z.ZodOptional; offset: z.ZodOptional; }, z.core.$strip>; export type PaginationParams = z.infer; /** Sort parameters generic over allowed field names */ export declare const SortParamsSchema: (sortFieldSchema: F) => z.ZodObject<{ sort: z.ZodOptional; direction: z.ZodOptional>; }, z.core.$strip>; export type SortParams = { /** Field to sort by */ sort?: F; /** Sort direction (default: 'desc') */ direction?: SortDirection; }; /** Combined list parameters = pagination + sorting */ export declare const ListParamsSchema: (sortFieldSchema: F) => z.ZodObject<{ limit: z.ZodOptional; offset: z.ZodOptional; sort: z.ZodOptional; direction: z.ZodOptional>; }, z.core.$strip>; export type ListParams = PaginationParams & SortParams; /** Standard paginated list response */ export declare const PaginatedListSchema: (itemSchema: T) => z.ZodObject<{ data: z.ZodArray; total: z.ZodNumber; limit: z.ZodNumber; offset: z.ZodNumber; hasMore: z.ZodBoolean; }, z.core.$strip>; export type PaginatedList = { /** Array of items */ data: T[]; /** Total number of items matching the query */ total: number; /** Number of items requested per page */ limit: number; /** Number of items skipped */ offset: number; /** Whether more items are available */ hasMore: boolean; }; //# sourceMappingURL=pagination.d.ts.map