/** * Shim for @asyncapi/parser that works in both Node.js and browser environments. * * - In Node.js (tests): Uses the regular @asyncapi/parser package * - In browser (bundled): Uses @asyncapi/parser/browser which has proper $ref resolution * * The esbuild plugin (asyncapiParserBrowserPlugin) transforms the browser bundle * to properly export the Parser class. */ export interface AsyncAPIDocumentInterface { version(): string; info(): unknown; servers(): unknown; channels(): unknown; operations(): unknown; messages(): unknown; schemas(): unknown; securitySchemes(): unknown; components(): unknown; allServers(): unknown; allChannels(): unknown; allOperations(): unknown; allMessages(): unknown; allSchemas(): unknown; extensions(): unknown; json(): T; } declare let ParserClass: any; export declare const Parser: any; export default ParserClass;