import { z } from 'zod'; export declare const IndexNameSchema: z.ZodEffects, string, string>; export declare const DocumentIdSchema: z.ZodString; export declare const QuerySchema: z.ZodRecord; export declare const SortSchema: z.ZodArray, "many">; export declare const AggregationsSchema: z.ZodRecord; export declare const HighlightSchema: z.ZodRecord; export declare const SourceSchema: z.ZodUnion<[z.ZodArray, z.ZodBoolean]>; export declare const PaginationSchema: z.ZodObject<{ size: z.ZodOptional; from: z.ZodOptional; }, "strip", z.ZodTypeAny, { size?: number | undefined; from?: number | undefined; }, { size?: number | undefined; from?: number | undefined; }>; export declare const RefreshSchema: z.ZodOptional, z.ZodLiteral<"false">, z.ZodLiteral<"true">]>>; export declare const SearchArgsSchema: z.ZodObject<{ index: z.ZodEffects, string, string>; query: z.ZodOptional>; size: z.ZodOptional; from: z.ZodOptional; sort: z.ZodOptional, "many">>; aggregations: z.ZodOptional>; highlight: z.ZodOptional>; source: z.ZodOptional, z.ZodBoolean]>>; }, "strict", z.ZodTypeAny, { index: string; sort?: Record[] | undefined; size?: number | undefined; from?: number | undefined; query?: Record | undefined; aggregations?: Record | undefined; highlight?: Record | undefined; source?: boolean | string[] | undefined; }, { index: string; sort?: Record[] | undefined; size?: number | undefined; from?: number | undefined; query?: Record | undefined; aggregations?: Record | undefined; highlight?: Record | undefined; source?: boolean | string[] | undefined; }>; export declare const FetchIndicesArgsSchema: z.ZodObject<{ pattern: z.ZodOptional; includeSystemIndices: z.ZodOptional; sortBy: z.ZodOptional>; }, "strict", z.ZodTypeAny, { pattern?: string | undefined; includeSystemIndices?: boolean | undefined; sortBy?: "name" | "size" | "docs" | undefined; }, { pattern?: string | undefined; includeSystemIndices?: boolean | undefined; sortBy?: "name" | "size" | "docs" | undefined; }>; export declare const CreateIndexArgsSchema: z.ZodObject<{ name: z.ZodEffects, string, string>; mappings: z.ZodOptional>; settings: z.ZodOptional>; aliases: z.ZodOptional>; }, "strict", z.ZodTypeAny, { name: string; mappings?: Record | undefined; settings?: Record | undefined; aliases?: string[] | undefined; }, { name: string; mappings?: Record | undefined; settings?: Record | undefined; aliases?: string[] | undefined; }>; export declare const InsertDataArgsSchema: z.ZodObject<{ index: z.ZodEffects, string, string>; document: z.ZodRecord; id: z.ZodOptional; refresh: z.ZodOptional, z.ZodLiteral<"false">, z.ZodLiteral<"true">]>>>; }, "strict", z.ZodTypeAny, { index: string; document: Record; id?: string | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; }, { index: string; document: Record; id?: string | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; }>; export declare const UpdateDocumentArgsSchema: z.ZodEffects, string, string>; id: z.ZodString; document: z.ZodOptional>; script: z.ZodOptional>; }, "strip", z.ZodTypeAny, { source: string; params?: Record | undefined; }, { source: string; params?: Record | undefined; }>>; upsert: z.ZodOptional; refresh: z.ZodOptional, z.ZodLiteral<"false">, z.ZodLiteral<"true">]>>>; }, "strict", z.ZodTypeAny, { index: string; id: string; document?: Record | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; script?: { source: string; params?: Record | undefined; } | undefined; upsert?: boolean | undefined; }, { index: string; id: string; document?: Record | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; script?: { source: string; params?: Record | undefined; } | undefined; upsert?: boolean | undefined; }>, { index: string; id: string; document?: Record | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; script?: { source: string; params?: Record | undefined; } | undefined; upsert?: boolean | undefined; }, { index: string; id: string; document?: Record | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; script?: { source: string; params?: Record | undefined; } | undefined; upsert?: boolean | undefined; }>; export declare const DeleteDocumentArgsSchema: z.ZodEffects, string, string>; id: z.ZodOptional; query: z.ZodOptional>; conflicts: z.ZodOptional>; refresh: z.ZodOptional, z.ZodLiteral<"false">, z.ZodLiteral<"true">]>>>; }, "strict", z.ZodTypeAny, { index: string; query?: Record | undefined; id?: string | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; conflicts?: "abort" | "proceed" | undefined; }, { index: string; query?: Record | undefined; id?: string | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; conflicts?: "abort" | "proceed" | undefined; }>, { index: string; query?: Record | undefined; id?: string | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; conflicts?: "abort" | "proceed" | undefined; }, { index: string; query?: Record | undefined; id?: string | undefined; refresh?: boolean | "wait_for" | "false" | "true" | undefined; conflicts?: "abort" | "proceed" | undefined; }>; export declare const ExportToCSVArgsSchema: z.ZodObject<{ index: z.ZodEffects, string, string>; query: z.ZodOptional>; fields: z.ZodOptional>; filename: z.ZodOptional; format: z.ZodOptional; quote: z.ZodOptional; escape: z.ZodOptional; header: z.ZodOptional; }, "strip", z.ZodTypeAny, { delimiter?: string | undefined; quote?: string | undefined; escape?: string | undefined; header?: boolean | undefined; }, { delimiter?: string | undefined; quote?: string | undefined; escape?: string | undefined; header?: boolean | undefined; }>>; maxRows: z.ZodOptional; compress: z.ZodOptional; }, "strict", z.ZodTypeAny, { index: string; query?: Record | undefined; fields?: string[] | undefined; filename?: string | undefined; format?: { delimiter?: string | undefined; quote?: string | undefined; escape?: string | undefined; header?: boolean | undefined; } | undefined; maxRows?: number | undefined; compress?: boolean | undefined; }, { index: string; query?: Record | undefined; fields?: string[] | undefined; filename?: string | undefined; format?: { delimiter?: string | undefined; quote?: string | undefined; escape?: string | undefined; header?: boolean | undefined; } | undefined; maxRows?: number | undefined; compress?: boolean | undefined; }>; export declare function validateIndexName(name: string): string; export declare function validateDocumentId(id: string): string; export declare function validatePagination(params: { size?: number; from?: number; }): { size: number | undefined; from: number | undefined; }; export declare function sanitizeQuery(query: unknown): Record | undefined; export declare function sanitizeScriptSource(source: string): string; //# sourceMappingURL=schemas.d.ts.map