import { SchemaParameters, SchemaValidatorFunction } from './io';
import { ErrorLike, ObjectPath } from './errors';
export default function compiler<S>(schema: S, opts?: {
    error?: ErrorLike<SchemaParameters<S>>;
    basePath?: ObjectPath;
    strict?: boolean;
}): SchemaValidatorFunction<S>;
