export interface SchemaValidator { (data: unknown, filePath: string): Record; } /** * Creates a validator function from a schema object. If the schema is a zod * schema (has a `.parse` method), it is used directly. If `zod` is not * installed but a schema is provided, validation is skipped with a warning. */ export declare function createValidator(schema: unknown): SchemaValidator | undefined; /** * Ensures `zod` is available and re-exports it. Used by `defineCollection` * consumers who want to write `z.object(...)` schemas. */ export declare function getZod(): Promise;