/** * Pagination and sorting type definitions */ import { z } from "zod"; /** * Sort field for list/search commands */ export declare const sortFieldSchema: z.ZodEnum<{ title: "title"; author: "author"; updated: "updated"; created: "created"; published: "published"; }>; export type SortField = z.infer; /** * Sort field for search command (includes relevance) */ export declare const searchSortFieldSchema: z.ZodEnum<{ title: "title"; author: "author"; updated: "updated"; created: "created"; published: "published"; relevance: "relevance"; }>; export type SearchSortField = z.infer; /** * Sort order */ export declare const sortOrderSchema: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; export type SortOrder = z.infer; /** * Pagination options */ export declare const paginationOptionsSchema: z.ZodObject<{ limit: z.ZodOptional; offset: z.ZodOptional; }, z.core.$strip>; export type PaginationOptions = z.infer; /** * Sort options */ export declare const sortOptionsSchema: z.ZodObject<{ sort: z.ZodOptional>; order: z.ZodOptional>; }, z.core.$strip>; export type SortOptions = { sort?: T; order?: SortOrder; }; /** * Paginated result */ export interface PaginatedResult { items: T[]; total: number; limit: number; offset: number; nextOffset: number | null; } //# sourceMappingURL=types.d.ts.map