declare const REQUIRE_MAP: { jscodeshift: () => any; dateformat: () => any; "body-parser": () => any; "cookie-parser": () => any; cors: () => any; express: () => any; "method-override": () => any; "express-session": () => any; }; /** * use only in backend mode */ export declare function requireDefault(id: keyof typeof REQUIRE_MAP): T; export { load } from './json10-writer'; export { _ } from './lodash.namespace'; import * as q from 'q'; declare let dateformat: typeof import('dateformat'); import { Chalk } from 'chalk'; import * as json5 from 'json5'; import type jQueryType from 'jquery'; import type * as pathBaseType from 'path'; import type * as globBaseType from 'glob'; import type * as fseBaseType from 'fs-extra'; import type * as osBaseType from 'os'; import type * as child_processType from 'child_process'; import type * as httpBaseType from 'http'; import type * as httpsBaseType from 'https'; import type * as fkillBaseType from 'fkill'; import type * as psListBaseType from 'ps-list'; import type * as netBaseType from 'net'; import type * as spawnBaseType from 'cross-spawn'; import type * as fgBaseType from 'fast-glob'; import type * as rimrafBaseType from 'rimraf'; import type * as chokidarBaseType from 'chokidar'; import type * as mkdirpBaseType from 'mkdirp'; import type * as ncpBaseType from 'copy-paste'; import type * as psBaseType from 'ps-node'; declare let $: jQueryType; declare let path: typeof pathBaseType; declare let chalk: Chalk; declare let glob: typeof globBaseType; declare let fse: typeof fseBaseType; declare let os: typeof osBaseType; declare let child_process: typeof child_processType; declare let http: typeof httpBaseType; declare let https: typeof httpsBaseType; /** * check if the current process is elevated * - sudo in unix/macos * - admin in windows */ declare let isElevated: () => Promise; declare let fkill: typeof fkillBaseType; declare let psList: typeof psListBaseType; declare let net: typeof netBaseType; declare let spawn: typeof spawnBaseType; declare let rimraf: typeof rimrafBaseType; declare let chokidar: typeof chokidarBaseType; declare let mkdirp: typeof mkdirpBaseType; declare let ncp: typeof ncpBaseType; declare let ps: typeof psBaseType; declare let fg: typeof fgBaseType; /** * transform unix path to win32 path */ declare const win32Path: (p: string) => string; /** * This funciton will replace // to / */ declare const crossPlatformPath: (pathStringOrPathParts: string | string[]) => string; export { q, dateformat, crossPlatformPath, win32Path, path, chalk, json5, $, glob, fse, os, child_process, http, https, isElevated, fkill, psList, spawn, fg, chokidar, mkdirp, ncp, rimraf, net, ps, };