declare namespace API { interface Result { success?: boolean; data?: T; errorCode?: number; errorMessage?: string; showType?: ErrorShowType; traceId?: string; host?: string; } type SvrResultList = Result<{ total: number; list: T[]; }>; interface ResultList extends Result { total: number; } interface AntdPageParams { current?: number; pageSize?: number; keyword?: string; [key: string]: any; } type ReqList = T & AntdPageParams; interface SortBy { column: string; asc: boolean; } type SvrReqList = T & { page: number; pageSize: number; sortBy?: string | SortBy | SortBy[]; }; interface ReqDelete { ids: T[]; } }