/** * This module defines extended Typescript options shared by multiple targets. * * @module typescript */ /** (Placeholder comment, see TypeStrong/typedoc#603) */ import { Furi } from "furi"; import { CustomTscOptions } from "./options/tsc"; import { MatcherUri } from "./utils/matcher"; export interface TypescriptConfig { readonly tscOptions: CustomTscOptions; readonly tsconfigJson: Furi; readonly packageJson: Furi; readonly buildDir: Furi; readonly srcDir: Furi; readonly scripts: Iterable; } export interface ResolvedTsLocations { /** * Absolute path for the directory containing the `tsconfig.json` file. */ readonly tsconfigJsonDir: Furi; /** * Absolute path for the `tsconfig.json` file. */ readonly tsconfigJson: Furi; /** * Root directory containing the sources, relative to `tsconfigJsonDir`. */ readonly rootDir: Furi; /** * Directory containing the build, relative to `tsconfigJsonDir` */ readonly outDir: Furi; /** * Patterns matching scripts to include, relative to `rootDir`. */ readonly relInclude: string[]; /** * Patterns matching scripts to exclude, relative to `rootDir`. */ readonly relExclude: string[]; /** * Patterns matching the scripts, relative to `rootDir`. */ readonly absScripts: MatcherUri[]; } export declare function resolveTsLocations(options: TypescriptConfig): ResolvedTsLocations;