import { ExportChainLeaf } from "../../ts-ast-resolve/index"; import { DocumentationReferenceNode } from "./DocumentationReferenceNode"; /** * @description * Map constructor that maps export chain leaf nodes to documentation nodes * or documentation reference nodes. * * Export chain leaf nodes that have the same: * * - resolution index * - export chain leaf statement (as reference) * * are treated as identical keys by the map. * * This map is useful for avoiding duplication and infinite loops when defining the * referenced types object of a documentation node or documentation reference node. * * @todo * have not tested it */ export declare class ExportChainLeafToNodeDocumentationOrReferenceMap { /** * @description * Documentation reference nodes to not care about namespace and exposed name. * Not even when they reference documentation nodes. */ private _map; constructor(); get(exportChainLeaf: ExportChainLeaf): T | undefined; set(exportChainLeaf: ExportChainLeaf, documentationNode: T): void; delete(exportChainLeaf: ExportChainLeaf): boolean; values(): T[]; }