import { Type } from 'avsc';
import { ICommandOptions } from './cli';
export declare class Parser {
    private option;
    private json;
    private schemaType;
    private schemaFile;
    constructor(option: ICommandOptions);
    run(): void;
    validateJSON(json?: {
        [key: string]: any;
    }, schemaType?: Type, optErrorHook?: (path: string[], part: any) => void): any;
    private inferSchema;
    private loadFile;
    private loadJSON;
    private loadXML;
}
