export declare type OrderType = 'desc' | 'asc'; export interface DeepOrderProps { data: T[]; childKey: string; orderKey: string; type: OrderType; } declare const _default: { /** * 递归地将带children的数组展平 */ deepFlatten(list: T[], key?: string): T[]; /** * 根据某个字段 递归排序 */ deepOrder(props: DeepOrderProps): T_1[]; }; export default _default;