///
import { SMAjaxConfig, SMAbstractResponse } from '../consts';
export declare const pathToReg: (path: string) => RegExp;
/** 提取 path 参数名 */
export declare const getPathParamsNames: (path: string) => string[];
export declare const concatPath: (...args: (string | string[] | undefined)[]) => string;
/** 提取 path 参数 */
export declare const getPathParams: (pathTpl: string, path: string) => {} | undefined;
/** 从请求内提取各参数 */
export declare const getParams: (req: import("http").IncomingMessage, pathTpl: string) => SMAjaxConfig;
/** 读取流数据 */
export declare const getReadableDataAsync: (readble: SMAbstractResponse) => Promise;