import type { CompiledPkgName, NodeEnv } from './types/index'; export declare const getNodeEnv: () => NodeEnv; export declare const setNodeEnv: (env: NodeEnv) => void; export declare const setDevServer: (isDevServer: boolean) => void; export declare const isDev: () => boolean; export declare const isDevServer: () => boolean; export declare const isWatch: () => boolean; export declare const isProd: () => boolean; export declare const isWin: () => boolean; export declare const isString: (str: unknown) => str is string; export declare const isBoolean: (bool: unknown) => bool is boolean; export declare const isUndefined: (obj: unknown) => obj is undefined; export declare const isFunction: (func: unknown) => func is (...args: any[]) => any; export declare const isObject: (obj: unknown) => obj is Record; export declare const isPlainObject: (obj: unknown) => obj is Record; export declare const isRegExp: (obj: any) => obj is RegExp; export declare const prettyTime: (seconds: number) => string; export declare const getValueByPath: (target: any, pathArray: (string | number)[], defaultValue: any) => any; export declare const setValueByPath: (target: any, pathArray: (string | number)[], value: any) => void; export declare const getPort: (startPort: number) => Promise; export declare const getCompiledPkgPath: (packageName: CompiledPkgName) => string; export declare const getUserDepPath: (root: string, deps: string | string[]) => string | undefined; export declare const uniqueId: (length: number) => string; export declare function getTime(): string; export declare const debounce: (fn: any, delay: any) => (...args: any[]) => void; export declare const getValidPath: (filePath: string) => string; export declare const isTs: () => boolean; type AddressUrl = { label: string; url: string; }; export declare const getAddressUrls: ({ protocol, port, host, }: { protocol?: string; port: number; host?: string; }) => AddressUrl[]; export declare const trackPerformance: (msg?: string) => void; export {}; //# sourceMappingURL=utils.d.ts.map