declare global { var Bun: any; } /** * For each package that must be shared, the distinct copies reachable from tosijs-ui, from * every `@codemirror/*` package it depends on, and from tjs-lang's editor extension. More than one path for a name is * the defect. `uiDir` is where tosijs-ui itself is installed. */ export declare function codemirrorCopies(root: string, uiDir: string): Record; /** What to say about `codemirrorCopies`' answer, or null when each package has one copy. */ export declare function duplicateCodemirrorWarning(copies: Record): string | null; /** tosijs-ui's own package directory, found from this module's location. */ export declare function tosijsUiDir(moduleDir: string): string;