import type { Interface, Namespace, Operation, Program, Type } from "@typespec/compiler"; import type { MetadataInfo } from "@typespec/http"; import { Visibility } from "@typespec/http"; export interface VisibilityUsageTracker { getUsage(type: Type): Set | undefined; isUnreachable(type: Type): boolean; manuallyTrack(type: Type, visibility: Set): void; } export type OperationContainer = Namespace | Interface | Operation; export declare function resolveVisibilityUsage(program: Program, metadataInfo: MetadataInfo, root: Namespace, omitUnreachableTypes: boolean): VisibilityUsageTracker; //# sourceMappingURL=visibility-usage.d.ts.map