import type { JsonPath } from '@stoplight/types'; declare type MessageObject = Record; declare type AsyncAPI = { channels?: Record; publish?: Record; }>; }; declare type Result = { path: JsonPath; message: MessageObject; }; export declare function getAllMessages(asyncapi: AsyncAPI): IterableIterator; export {};