import type { CompilerOptions, ParsedCommandLine, System } from 'typescript'; export declare const BASE_COMPILER_OPTIONS: CompilerOptions; /** * Validate the TypeScript configuration. This checks for common * misconfigurations and throws an error if any are found. * * @param config - The TypeScript configuration. * @throws Will throw an error if the configuration is invalid. */ export declare function validateTypeScriptConfig(config: ParsedCommandLine): void; /** * Get the TypeScript configuration. * * This function reads the TypeScript configuration from the specified path. * * @param path - The path to the TypeScript configuration. * @param system - The system to use for file operations. * @returns The TypeScript configuration. */ export declare function getTypeScriptConfig(path: string, system?: System): ParsedCommandLine; /** * Get the base compiler options. * * @param basePath - The path to resolve relative paths against, i.e., the * directory of the TypeScript configuration file. * @param baseOptions - The base compiler options. * @returns The base compiler options with the default output directory. */ export declare function getBaseCompilerOptions(basePath: string, baseOptions: CompilerOptions): CompilerOptions; /** * Get the compiler options for the specified path and build type. It merges the * compiler options from the TypeScript configuration with the build type * specific options, and shows a warning if an option is overridden. * * @param baseOptions - The base compiler options. * @returns The compiler options. */ export declare function getCompilerOptions(baseOptions: CompilerOptions): CompilerOptions; //# sourceMappingURL=config.d.ts.map