UNPKG

@asyncapi/react-component

Version:

A React component for AsyncAPI specification.

9 lines 560 B
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