import { ZodSchema } from 'zod';
/**
 * Compile a reusable validator function from a Zod schema.
 * Throws a formatted error message on validation failure.
 */
export declare function compileValidator<T>(schema: ZodSchema<T>): (input: unknown) => T;
