import { JSONSchema4 } from 'json-schema';
import { Options as PrettierOptions } from 'prettier';
export { EnumJSONSchema, JSONSchema, NamedEnumJSONSchema } from './types/JSONSchema';
export interface Options {
    bannerComment: string;
    cwd: string;
    declareExternallyReferenced: boolean;
    enableConstEnums: boolean;
    style: PrettierOptions;
    unreachableDefinitions: boolean;
}
export declare const DEFAULT_OPTIONS: Options;
export declare function compileFromFile(filename: string, options?: Partial<Options>): Promise<string>;
export declare function compile(schema: JSONSchema4, name: string, options?: Partial<Options>): Promise<string>;
export declare class ValidationError extends Error {
}
