import * as React from 'react'; import { ElementOf } from '../_util/type'; import { TransferListProps, RenderedItem } from './list'; import { KeyWiseTransferItem } from '.'; export declare const OmitProps: ["handleFilter", "handleClear", "checkedKeys"]; export declare type OmitProp = ElementOf; declare type PartialTransferListProps = Omit, OmitProp>; export interface TransferListBodyProps extends PartialTransferListProps { filteredItems: RecordType[]; filteredRenderItems: RenderedItem[]; selectedKeys: string[]; } interface TransferListBodyState { current: number; } declare class ListBody extends React.Component, TransferListBodyState> { state: { current: number; }; static getDerivedStateFromProps({ filteredRenderItems, pagination }: TransferListBodyProps, { current }: TransferListBodyState): { current: number; } | null; onItemSelect: (item: RecordType) => void; onItemRemove: (item: RecordType) => void; onPageChange: (current: number) => void; getItems: () => RenderedItem[]; render(): JSX.Element; } export default ListBody;