@redocly/asyncapi-docs
Version:
Async API docs for Redocly Realm
17 lines (16 loc) • 419 B
TypeScript
type Options = {
channel: string;
channels: string;
servers: string;
server: string;
send: string;
receive: string;
sendLabel: string;
receiveLabel: string;
channelBinding: string;
payload: string;
};
export declare function useProtocolLabels(channelBindings?: Record<string, any>): {
getProtocolLabel: (option: keyof Options, defaultValue?: string) => string;
};
export {};