import type { VersionedUrl } from "@blockprotocol/type-system"; /** * We want to map every type to their dependencies, however trying to maintain this as a set of plain `Record`s would be * difficult as we'd then have to search inside other `Record`'s to find ones that contain this type to update those as * well. * * This map instead uses a collection of object references to represent the dependency graph, which also gracefully * allows us to ignore difficulties of circular dependencies. */ export declare class TypeDependencyMap { private readonly dependencyMap; addDependencyForType(typeId: VersionedUrl, dependency: VersionedUrl): void; getDependenciesForType(typeId: VersionedUrl): Set; }