import type { FilterSchema, FieldSchema, ComputedFieldSchema, Operator } from '../types'; export declare class SchemaValidationError extends Error { field?: string | undefined; operator?: string | undefined; constructor(message: string, field?: string | undefined, operator?: string | undefined); } export declare class SchemaValidator { private schema; constructor(schema: FilterSchema); /** * Get field schema, throws if not found or not filterable */ getFieldSchema(fieldName: string): FieldSchema | ComputedFieldSchema; /** * Validate that operator is allowed for field */ validateOperator(fieldName: string, operator: Operator): void; /** * Validate and sanitize value according to field schema */ validateValue(fieldName: string, operator: Operator, value: unknown): unknown; private validateSingleValue; private validateOptions; private validateConstraints; private validateDateFormat; private validateType; } //# sourceMappingURL=validator.d.ts.map