import React from 'react'; import type { NativeProps } from '@zbanx/mobile-utils'; import type { Value } from '../filter/context'; import type { PageParams, SorterProps, Request } from './type'; import type { FilterProps } from '../filter'; import type { SearchBarProps } from '@zbanx/mobile-basic'; import './index.less'; import type { BasicTarget } from 'ahooks/es/utils/domTarget'; export declare type TableListActionType = { reload: () => void; setFields: (values: Record) => void; setDataList: (data: unknown[]) => void; } | undefined; export interface TableListProps extends NativeProps { filterProps?: FilterProps; sorters?: SorterProps[]; request: Request; renderCard?: (record: TData, index: number) => React.ReactNode; searchBarProps?: SearchBarProps; contentClassName?: string; scrollRef: BasicTarget; params?: Record; dateRange?: boolean; onChangeDataSource?: (dataSource?: TData[]) => void; renderMore?: (loading: boolean, noMore: boolean) => React.ReactNode; empty?: React.ReactNode; pageSize?: number; } declare const _default: (props: TableListProps & { children?: React.ReactNode; } & { ref?: React.ForwardedRef | undefined; }) => React.ReactElement; export default _default;