import { FormInstance } from "antd/es/form"; import { FilterType } from "../../filter/types"; declare type UseTransDataSourceParams = { form: FormInstance; localPagination: boolean; dataSource: Record[]; rowKey: string | ((params: any) => string); filter: FilterType; }; declare const useTransDataSource: (params: UseTransDataSourceParams) => Record[]; export default useTransDataSource;