import type { API } from "tsrs/async"; import type { TsRuntime } from "./runtime.ts"; export interface TsCompilerProcess { api: API; close(): Promise; } /** Own the API server so its optimization policy never changes Pi's environment. */ export declare function startTsCompiler(runtime: TsRuntime, options: { cwd: string; tsserverPath?: string; }): Promise;