import type { OutputScopeOptions, Refkey } from "@alloy-js/core"; import { OutputScope } from "@alloy-js/core"; import type { TSModuleScope } from "./ts-module-scope.js"; export interface TSPackageScopeOptions extends OutputScopeOptions { builtin?: boolean; } export declare class TSPackageScope extends OutputScope { #private; /** * The version of the this package. */ get version(): string; /** * The symbols exported by this package. They are broken down by which paths * they are exported from. It is possible a symbol may be present at multiple * paths, in which case emitters can decide which symbol to use based on their * own heuristics. */ get exportedSymbols(): Map; /** * The scopes for the packages this package depends on. */ get dependencies(): Set; /** * All of the modules contained within the package. These modules may or may not * be exported. */ get modules(): Set; /** * The path of the root directory of the package. */ get path(): string; /** * Whether this is a built-in package provided by the platform. */ get builtin(): boolean; constructor(name: string, version: string, path: string, options?: TSPackageScopeOptions); addDependency(pkg: TSPackageScope): void; addExport(publicPath: string, module: TSModuleScope): void; addModule(module: TSModuleScope): void; findExportedSymbol(refkey: Refkey): [string, TSModuleScope] | null; copyTo(): TSPackageScope; get debugInfo(): Record; } //# sourceMappingURL=ts-package-scope.d.ts.map