import type ts from "typescript"; export interface TypeScriptConfigResult { /** Absolute path to the resolved tsconfig.json file. */ configPath: string; config: ts.ParsedCommandLine; } /** * @param cwd - Defaults to process.cwd() * @param configPath - Optional absolute or relative path to a tsconfig.json file. * @param resolveIncludedFiles - If true, will resolve tsconfig's include, exclude, * and files globs. Resolved files can be accessed via * TypeScriptConfigResult.config.fileNames. */ export function loadTypeScriptConfig(cwd: string | undefined, configPath: string | undefined, resolveIncludedFiles: boolean): TypeScriptConfigResult;