import { Diagnostic, DiagnosticSeverity } from '@asyncapi/parser';
import { ErrorObject, ParserReturn, FetchingSchemaInterface } from '../types';
export declare class Parser {
    static parse(content: string | any, parserOptions?: any): Promise<ParserReturn>;
    static parseFromUrl(arg: FetchingSchemaInterface, parserOptions?: any): Promise<ParserReturn>;
    static readonly convertDiagnosticToErrorObject: (diagnostics: Diagnostic[], severities: DiagnosticSeverity[]) => ErrorObject;
    private static handleError;
}
//# sourceMappingURL=parser.d.ts.map