declare module "@npmcli/arborist" { export interface ArboristOptions { path: string binLinks?: boolean progress?: boolean savePrefix?: string ignoreScripts?: boolean [key: string]: unknown } export interface ArboristNode { name: string path: string } export interface ArboristEdge { to?: ArboristNode } export interface ArboristTree { edgesOut: Map } export interface ReifyOptions { add?: string[] save?: boolean saveType?: "prod" | "dev" | "optional" | "peer" [key: string]: unknown } export class Arborist { constructor(options: ArboristOptions) loadVirtual(): Promise reify(options?: ReifyOptions): Promise } } declare var Bun: | { file(path: string): { text(): Promise json(): Promise } write(path: string, content: string | Uint8Array): Promise } | undefined