import ts from 'typescript'; export interface IBuildFormat { /** * Name of directory to create for the format. */ folderName: string; /** * Callback that returns the compiler options to be used when transpiling. * * @param tsconfigOptions existing options found in tsconfig */ getCompilerOptions(tsconfigOptions: Readonly): ts.CompilerOptions; } export interface IBuildOptions { /** * Absolute path to src directory, which should contain a `tsconfig.json` file. */ srcDirectoryPath: string; /** * Absolute path to output directory, where formats folders are created. */ outputDirectoryPath: string; /** * Formats to build. */ formats: IBuildFormat[]; /** * Config file name. * @default "tsconfig.json" */ configName?: string; } export declare function build({ formats, outputDirectoryPath, srcDirectoryPath, configName }: IBuildOptions): ts.OutputFile[]; //# sourceMappingURL=build.d.ts.map