/// <reference types="react" />
import { IResponseItem, IResponseUserValue } from './utils';
export interface ResponsesTableProps<T extends IResponseItem = IResponseItem> {
    /**
     * responses data
     */
    data?: T[] | IResponseUserValue[];
    /**
     * get accounts of the item.user
     */
    getAccounts: (item: T) => {
        displayName: string;
        id: string;
    }[];
    /**
     * get comments of the response item
     */
    getComments?: (item: T) => {
        id: string;
    }[];
    hasMore?: boolean;
    /**
     * is loading
     */
    isLoading?: boolean;
    /**
     * on click account name
     */
    onClickAccount?: (account: {
        id: string;
    }) => void;
    /**
     * on click user name
     */
    onClickUser?: (user: {
        id: string;
    }) => void;
    onLoadMore?: () => void;
    /**
     * on click user name
     */
    skeletonCount?: number;
}
declare function ResponsesTableInner<T extends IResponseItem = IResponseItem>({ data, getAccounts, getComments, onClickAccount, onClickUser, isLoading, skeletonCount, hasMore, onLoadMore, }: ResponsesTableProps<T>): JSX.Element;
export declare const ResponsesTable: typeof ResponsesTableInner;
export {};
