UNPKG

857 BTypeScriptView Raw
1import { SrcIfc, CompilerConfiguration } from './types';
2/**
3 * @dev Compile file or files before running tests (used for CLI execution)
4 * @param filename Name of file
5 * @param isDirectory True, if path is a directory
6 * @param opts Options
7 * @param cb Callback
8 *
9 * TODO: replace this with remix's own compiler code
10 */
11export declare function compileFileOrFiles(filename: string, isDirectory: boolean, opts: any, cb: Function): void;
12/**
13 * @dev Compile contract source before running tests (used for IDE tests execution)
14 * @param sources sources
15 * @param compilerConfig current compiler configuration
16 * @param importFileCb Import file callback
17 * @param opts Options
18 * @param cb Callback
19 */
20export declare function compileContractSources(sources: SrcIfc, compilerConfig: CompilerConfiguration, importFileCb: any, opts: any, cb: Function): void;