/** * Core Validation Utilities * * Basic validation functions for common data types including IDs, strings, and arrays. * These validators form the foundation for more specific validation logic. */ import { WordPressId } from "../../types/enhanced.js"; /** * Validates and sanitizes numeric IDs with comprehensive edge case handling * Returns branded WordPress ID type for enhanced type safety */ export declare function validateId(id: unknown, fieldName?: string): WordPressId; /** * Validates string length within bounds */ export declare function validateString(value: unknown, fieldName: string, minLength?: number, maxLength?: number): string; /** * Validates arrays with size constraints and type safety */ export declare function validateArray(value: unknown, fieldName: string, minItems?: number, maxItems?: number): T[]; //# sourceMappingURL=core.d.ts.map