import { default as React } from 'react';
import { ListChildComponentProps } from 'react-window';
import { ChargeCardRepaymentWithUser, FetchState, ID, PaymentHistoryAccountInfo, SortOrder } from '@zeniai/client-epic-state';
import { ChargeCardPaymentHistorySortKey } from '../../listViewItems/ChargeCardPaymentHistoryListHeaderRow';
export type { PaymentHistoryAccountInfo } from '@zeniai/client-epic-state';
export interface RepaymentWithAccountInfo {
    repayment: ChargeCardRepaymentWithUser;
    accountInfo?: PaymentHistoryAccountInfo;
}
export interface ChargeCardPaymentHistoryTableProps {
    fetchState: FetchState;
    isZeniTenant: boolean;
    repaymentListWithAccountInfo: RepaymentWithAccountInfo[];
    sortConfig: {
        sortKey: ChargeCardPaymentHistorySortKey;
        sortOrder: SortOrder;
    };
    searchText?: string;
    onColumnSortConfigChanged: (sortKey: ChargeCardPaymentHistorySortKey, sortOrder: SortOrder) => void;
    onReloadPayments: () => void;
    onRetryPaymentClick?: (repaymentId: ID) => void;
}
export interface ListItemProps extends ListChildComponentProps {
    isZeniTenant: boolean;
    repaymentListWithAccountInfo: RepaymentWithAccountInfo[];
    sortConfig: {
        sortKey: ChargeCardPaymentHistorySortKey;
        sortOrder: SortOrder;
    };
    onColumnSortConfigChanged: (sortKey: ChargeCardPaymentHistorySortKey, sortOrder: SortOrder) => void;
    onRetryPaymentClick?: (repaymentId: ID) => void;
}
declare const _default: React.MemoExoticComponent<({ fetchState, repaymentListWithAccountInfo, sortConfig, onColumnSortConfigChanged, onReloadPayments, searchText, isZeniTenant, onRetryPaymentClick, }: ChargeCardPaymentHistoryTableProps) => import("react/jsx-runtime").JSX.Element>;
export default _default;
