2019-05-20 09:48:53 +00:00
|
|
|
declare module "embark-utils" {
|
2019-08-05 18:15:12 +00:00
|
|
|
import {Logger} from "embark";
|
|
|
|
|
|
|
|
export class File {
|
|
|
|
public path: string;
|
2019-05-20 09:48:53 +00:00
|
|
|
constructor(options: any);
|
2019-08-05 18:15:12 +00:00
|
|
|
public prepareForCompilation(isCoverage?: boolean): any;
|
2019-05-20 09:48:53 +00:00
|
|
|
}
|
|
|
|
|
2019-05-21 12:56:42 +00:00
|
|
|
function anchoredValue(anchor: string|null, value: string): string;
|
|
|
|
function anchoredPath(anchor: string|null, ...args: string[]): string;
|
2019-05-20 09:48:53 +00:00
|
|
|
function compact(array: any): any;
|
|
|
|
function checkIsAvailable(url: string, callback: any): void;
|
|
|
|
function dockerHostSwap(host: string): string;
|
2019-08-20 18:47:52 +00:00
|
|
|
function buildUrl(protocol: string, host: string, port: number, type: string): string;
|
2019-05-20 09:48:53 +00:00
|
|
|
function dappPath(...names: string[]): string;
|
2019-05-21 12:56:42 +00:00
|
|
|
function diagramPath(...names: string[]): string;
|
2019-05-20 09:48:53 +00:00
|
|
|
function escapeHtml(message: any): string;
|
|
|
|
function embarkPath(...names: string[]): string;
|
|
|
|
function exit(code?: any): void;
|
|
|
|
function findNextPort(port: number): Promise<number>;
|
2019-05-21 13:30:33 +00:00
|
|
|
function isEs6Module(module: any): boolean;
|
2019-05-20 09:48:53 +00:00
|
|
|
function jsonFunctionReplacer(key: any, value: any): any;
|
|
|
|
function fuzzySearch(text: string, list: any, filter: any): any;
|
|
|
|
function getExternalContractUrl(file: string, provideUrl: string): string;
|
|
|
|
function recursiveMerge(target: any, source: any): any;
|
2019-05-21 12:56:42 +00:00
|
|
|
function pkgPath(...names: string[]): string;
|
2019-05-20 09:48:53 +00:00
|
|
|
function removePureView(dir: string): void;
|
2019-08-05 18:15:12 +00:00
|
|
|
function pingEndpoint(host: string, port: number, type: string, protocol: string, origin: string, callback: any): void;
|
|
|
|
|
|
|
|
export class AccountParser {
|
|
|
|
public static parseAccountsConfig(accountsConfig: any[], web3: any, dappPath: string, logger: Logger, nodeAccounts?: any[]): any[];
|
|
|
|
}
|
2019-05-20 09:48:53 +00:00
|
|
|
}
|