1 |
|
2 | import { RawSourceMap } from 'source-map';
|
3 | import { CancellablePromise } from '@theintern/common';
|
4 | export declare function expandFiles(patterns?: string[] | string): string[];
|
5 | export declare function getConfig(file?: string): CancellablePromise<{
|
6 | config: any;
|
7 | file?: string;
|
8 | }>;
|
9 | export declare function getConfig(argv?: string[]): CancellablePromise<{
|
10 | config: any;
|
11 | file?: string;
|
12 | }>;
|
13 | export declare function getConfig(file: string, argv?: string[]): CancellablePromise<{
|
14 | config: any;
|
15 | file?: string;
|
16 | }>;
|
17 | export declare function loadText(path: string): CancellablePromise<string>;
|
18 | export declare function normalizePath(path: string): string;
|
19 | export declare function readSourceMap(sourceFile: string, code?: string): RawSourceMap | undefined;
|
20 | export declare function isErrnoException(value: any): value is NodeJS.ErrnoException;
|
21 | export declare function mkdirp(dir: string): void;
|
22 | export declare function transpileSource(filename: string, code: string): string;
|