import type { SortOrder } from 'antd/lib/table/interface'; import React, { PropsWithChildren } from 'react'; import { BasePageProps } from '../BasePage'; export interface BaseListProps extends PropsWithChildren { mode?: 'page' | 'drawer' | 'modal' | 'card'; table: { mname?: string; key?: string; url?: any; output?: boolean; }; pageProps?: BasePageProps; pagination?: Record; options?: Record; columns: any[]; filters?: any[]; datas?: any[]; actions?: any[]; actionsPosition?: 'left' | 'right'; footerActions?: any[]; initColumns?: (value: any) => void; initFilters?: (value: any) => void; initDatas?: (value: any) => void; request?: (params: { pageSize?: number; current?: number; keyword?: string; }, sort: Record, filter: Record) => Promise; renderTableTitle?: () => React.ReactNode; renderTableTool?: () => React.ReactNode; renderTableFilter?: () => React.ReactNode; renderTableHeader?: () => React.ReactNode; renderTableFooter?: () => React.ReactNode; renderTableActions?: () => React.ReactNode; renderTableFooterActions?: () => React.ReactNode; } declare const BaseList: React.FC; export default BaseList;