UNPKG

@asyncapi/react-component

Version:

A React component for AsyncAPI specification.

21 lines 781 B
import { ConfigInterface } from '../config'; import { OperationInterface } from '@asyncapi/parser'; import { PayloadType } from '../types'; export declare class CommonHelpers { static getIdentifier(id: string, config?: ConfigInterface): string; static getOperationType(operation: OperationInterface): PayloadType; static getOperationIdentifier({ operation, config, }: { operation: OperationInterface; config: ConfigInterface; }): string; static getOperationDesignInformation({ type, config, isAsyncAPIv2, }: { type: PayloadType; config: ConfigInterface; isAsyncAPIv2: boolean; }): { borderColor: string; typeLabel: string; backgroundColor: string; }; } //# sourceMappingURL=common.d.ts.map