import { ExecOptions } from 'child_process'; /** * Check if file exists * * @param filePath file path * @returns does the file exist */ export declare const exists: (filePath: string) => Promise; export declare const mkdir: (dirname: string) => Promise; export declare const ensureDirExist: (filePath: string, strip?: boolean) => Promise; export declare const readFile: (filePath: string) => Promise; export declare const writeFile: (filePath: string, data: string | Uint8Array) => Promise; export declare const readDir: (source: string) => Promise; export declare const copyDir: (source: string, dest: string) => Promise; export declare const exec: (cmd: string, options?: ExecOptions) => Promise<{ stdout: string; stderr: string; }>; export declare const getLocalV4Ips: () => string[]; export declare const getDefaultHosts: () => string[]; export declare const getHash: (filePath: string) => Promise; export declare const deepMerge: (target: any, ...source: any[]) => any; export declare const prettyLog: (obj?: Record) => string; export declare const escape: (path?: string) => string;