import { JSONSchema } from './types'; import { compileSchema } from './utils'; export interface SchemaValidator { compile: typeof compileSchema; is: (schema: JSONSchema, data: unknown) => data is Type; validate: (schema: JSONSchema, data: unknown) => boolean; } export declare const createValidator: () => SchemaValidator;