/** * Drop every top-level `tags` entry no operation of the document references. * * A tag object with no readable `name` is kept: reachability cannot speak to a * tag it cannot identify, and keeping it only ever leaves a description on * screen. * * The input document is never mutated. * * The type parameter is deliberately unconstrained, matching * {@link pruneUnreachableComponents}: `openapi-types`' `Document` interfaces * have no index signatures, so they do not structurally satisfy * {@link OpenApiDocumentLike} even though `app.swagger()` returns exactly that. */ export declare function pruneUnreferencedTags(document: Document): Document;