declare interface TableListParams { page: number; size: number; query?: T; } declare type TableListResult = Promise<{ errorNo: number; errorDesc: string; result: { list: T[]; page: number; size: number; total: number; }; }>;