import { spawn } from 'node:child_process'; import { existsSync } from 'node:fs'; import { Logger } from 'vite'; /** * Deliberately absent from `package.json#exports`: unreachable from outside * the package even though it compiles into `dist/`. `spawnProcess`/`fileExists` * are test seams — the only real caller uses the defaults. */ export declare function refreshTypeScriptTypes(appRoot: string, logger: Pick, spawnProcess?: typeof spawn, fileExists?: typeof existsSync): void;