import { CompilerOptions, Program } from 'typescript'; import SysHost from './host'; import TranspileOuptut from './program/transpile-output'; /** * Create a typescript program, given a search path for a `tsconfig.json` * * @param searchPath Search path to use when looking for a typescript configuration * @public */ export declare function createProgramFromTsConfig(searchPath: string, host: SysHost): Promise; /** * Create a typescript program from a list of entry files * * @param entries paths to one or more entries * @public */ export declare function createProgramFromEntries(entries: string[]): Promise; /** * Create a typescript program from a string * * @param input JS/TS module as a string * @param codeType the type of code (i.e., 'js' or 'ts') * @param options * * @public */ export declare function createProgramFromCodeString(input: string, codeType: 'ts' | 'js', options?: Partial>): TranspileOuptut; //# sourceMappingURL=program.d.ts.map