import React, { Component } from 'react'; import { AsyncAPIDocumentInterface } from '@asyncapi/parser'; import { ErrorObject, PropsSchema, AsyncApiPlugin } from '../../types'; import { ConfigInterface } from '../../config'; import { PluginManager } from '../../helpers/pluginManager'; export interface AsyncApiProps { schema: PropsSchema; config?: Partial; plugins?: AsyncApiPlugin[]; onPluginEvent?: (eventName: string, data: unknown) => void; onPluginManagerReady?: (pluginManager: PluginManager) => void; } interface AsyncAPIState { asyncapi?: AsyncAPIDocumentInterface; error?: ErrorObject; } declare class AsyncApiComponent extends Component { state: AsyncAPIState; componentDidMount(): Promise; componentDidUpdate(prevProps: AsyncApiProps): Promise; render(): React.JSX.Element; private parseSchema; } export default AsyncApiComponent; //# sourceMappingURL=AsyncApi.d.ts.map