import 'reflect-metadata'; import { JSONObject } from '../type'; /** * 获取方法的参数名和默认值 * @param target * @param propertyKey * @returns {defaultParams: 默认参数对象; params: 参数名数组(包括默认参数)} */ declare function getParams(target: any, propertyKey: string): { defaultParams: { [key: string]: any; }; params: string[]; }; /** * 匹配替换路径参数 * @param path 路径 * @param params 方法体参数 * @returns 处理后的路径 */ declare function matchPath(path: string, params: JSONObject): string; declare const _default: { getParams: typeof getParams; matchPath: typeof matchPath; }; export default _default;