import type { AsyncApiDocument, AsyncApiOperationObject } from '@scalar/types/asyncapi/3.1'; import { type RequiredSecurity } from '../../../../features/Operation/helpers/get-required-security.js'; /** * Build the required-security model for an AsyncAPI operation so the shared * operation security section can render its alternatives and OAuth / OpenID Connect scopes. * * AsyncAPI declares security on the operation (and its traits) as a list of scheme * references carrying scopes. `getAsyncApiSecurityRequirements` normalises that into the * same OR-alternative shape the OpenAPI path uses, so we hand it to `getRequiredSecurity` * and reuse the exact grouping and de-duplication logic. * * Resolve only this operation’s schemes so rendering does not scan every operation. * Server-level security belongs to the channel connection and is excluded here. */ export declare const getAsyncApiRequiredSecurity: (document: AsyncApiDocument, operation: AsyncApiOperationObject | null | undefined, operationName?: string) => RequiredSecurity; //# sourceMappingURL=get-async-api-required-security.d.ts.map