import type { AsyncApiDocument } from '@scalar/types/asyncapi/3.1'; import type { SchemaObject } from '@scalar/workspace-store/schemas/v3.2/strict/openapi-document'; /** * Resolves a named schema from an AsyncAPI document's `components.schemas` into the `SchemaObject` * shape the shared OpenAPI Model components and search indexing expect. * * AsyncAPI keeps reusable schemas in the same place OpenAPI does, but an entry may need extra handling: * - `components` or the schema itself may be a `$ref`; reference siblings are ignored. * - A Multi Format Schema Object (`schemaFormat` plus a nested `schema`) is unwrapped to its payload, * so we index and render the inner JSON Schema rather than the wrapper. * - Boolean schemas are adapted for display; other schema formats are handled by source rendering. */ export declare const getAsyncApiModelSchema: (document: AsyncApiDocument, name: string) => SchemaObject | undefined; //# sourceMappingURL=get-async-api-model-schema.d.ts.map