import ts from "typescript"; import { IValFSHost } from "./ValFSHost.js"; export declare class ValSourceFileHandler { readonly projectRoot: string; private readonly compilerOptions; readonly host: IValFSHost; constructor(projectRoot: string, compilerOptions: ts.CompilerOptions, host?: IValFSHost); getSourceFile(filePath: string): ts.SourceFile | undefined; writeSourceFile(sourceFile: ts.SourceFile): void; writeFile(filePath: string, content: string, encoding: "binary" | "utf8"): void; resolveSourceModulePath(containingFilePath: string, requestedModuleName: string): string; }