import type { NackErrorInput } from './errors.ts'; type Schema = Record; export interface SchemaError { keyword: string; instanceLocation: string; property?: string; message: string; } export declare function validateSchema(schema: Schema, value: unknown, location?: string, root?: Schema): SchemaError[]; export declare function schemaFieldErrors(errors: SchemaError[]): NackErrorInput[]; export {};