import type { CompilerOptions, Program } from 'typescript';
export interface CreateProgramFromConfigOptions {
    /** Directory used to resolve relative paths in the tsconfig. */
    basePath: string;
    /** JSON-form compiler options shallow-merged over the tsconfig's own. */
    compilerOptions?: CompilerOptions;
    /** Path to the tsconfig.json to read (with `extends` resolution). */
    configFilePath: string;
    /** Glob patterns of files to exclude. */
    exclude?: string[];
    /** Explicit files to include (always compiled). */
    files?: string[];
    /** Glob patterns of files to include. */
    include?: string[];
}
/**
 * Local replacement for `tsc-prog`'s `createProgramFromConfig`, written against
 * the TypeScript compiler API directly. Reads the tsconfig at `configFilePath`,
 * shallow-merges the provided (JSON-form) compiler options over it, applies
 * include/files/exclude, then builds a `ts.Program` from the fully resolved
 * file list. Removing `tsc-prog` drops an unmaintained dependency and keeps the
 * compile path tracking the TypeScript version the repo actually uses.
 */
export declare function createProgramFromConfig(options: CreateProgramFromConfigOptions): Program;
//# sourceMappingURL=createProgramFromConfig.d.ts.map