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