export declare const is_node_version: (op: "=" | "<=" | ">=", version: string) => boolean; export declare const fixFunctionName: (name: string) => string; export declare const REG_FILENAME: RegExp; export declare const pathname_arr: (str?: string) => string[]; export declare const pathname_fixer: (str?: string) => string; export declare const pathname_dirname: (str?: string) => string; export declare const createSessionId: () => string; export declare const minimatch: (str?: string, pattern?: string) => boolean; export declare const withTimeout: (promise: Promise, timeout: number, errorMessage?: string) => Promise; export declare const safeJsonParse: (str: string, reviver?: (key: string, value: any) => any, MAX_JSON_DEPTH?: number) => any; export declare const getMimeType: (pathname: string) => string; export declare const isText: (pathname: string) => boolean; export declare const decode: (str: string) => string; export declare const toBuffer: (arrayBuffer: ArrayBuffer) => Buffer; export declare const getServerIPs: () => (string | undefined)[]; export declare const queryparams: (search: string) => Record; export declare const get: (obj: any, path: string | string[]) => any; export declare const set: (obj: any, path: string | string[], value: any) => any; export declare const isPlainObject: (value: any) => boolean; /** 简单字符串模板,类似 handlebars */ export declare const template: (tpl: string, data: any, toBlank?: boolean, index?: number) => string; export declare const renderHTML: (body: string, data: any) => string;