export interface IObjectSortArgs { /** 排序的 Key */ key: string; /** 是否升序 */ isAsc?: boolean; /** 排序类型 */ type?: "string" | "number" | "date" | "boolean"; /** 匹配用来排序的部分 */ matcher?: (value?: any) => any | RegExp; /** 顺序表。排序的值会按此顺序 */ orderRanks?: string[]; } /** * 排序对象数组 * @param list * @param options * @returns */ export declare function sortObjectArray>(list: T[], sortArgs: IObjectSortArgs[] | IObjectSortArgs, options?: { /** 就地替换(默认会返回一个新数组) */ inPlace?: boolean; }): T[]; //# sourceMappingURL=sortObjectArray.d.ts.map