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