import type { OpenAPIV3_1 } from 'openapi-types'; /** * Helpers for emitting operation security metadata into generated Fastify output. * Shared by the route emitter (config.security) and the service emitter (@security * JSDoc) so the two parallel emitters derive identical security data. */ /** * Escape a string so it cannot break out of a JSDoc comment block. * The closing sequence for JSDoc is the only dangerous escape; newlines are * replaced with a space to keep the tag on a single line. */ export declare function escapeJsDocString(value: string): string; /** * Derive the effective security requirements for an operation. * operation.security overrides the global spec.security when present. * Each SecurityRequirementObject (Record) is expanded into * one { scheme, scopes } entry per key. */ export declare function deriveEffectiveSecurity(operation: OpenAPIV3_1.OperationObject, spec: OpenAPIV3_1.Document): Array<{ scheme: string; scopes: string[]; }>; //# sourceMappingURL=security-meta.d.ts.map