import type TS from "typescript"; import { type ScreenProgram, type ScreenTscInput } from "./screen-program.js"; import type { Finding } from "./types.js"; /** Test seam: the resolution is memoized for the process (a host's toolchain * does not change mid-run), so the silent-degradation paths are unreachable * from a test without one. Returns the restore. */ export declare function __setCompilerForTests(candidate: typeof TS | null): () => void; /** Build the program and collect its diagnostics, on this process's own * compiler and Node's own disk. Never throws. */ export declare function screenProgram(input: ScreenTscInput): ScreenProgram; /** * Type-check one screen against its generated declarations. * * Returns `[]` for a clean screen, `[]` when no usable compiler is available, * and never throws. */ export declare function screenTscFindings(input: ScreenTscInput): Finding[]; //# sourceMappingURL=screen-tsc.d.ts.map