/// <reference types="react" />
import { InfiniteScrollOptimizedProps } from '@parlor/common';
type Model = {
    __typename?: string;
    id: string;
};
type AdditionalProps = Pick<InfiniteScrollOptimizedProps, 'hasMore' | 'onLoadMore'>;
type ListSectionProps<T extends Model> = {
    addButton?: JSX.Element;
    completedCount?: number;
    emptyState: JSX.Element;
    iconJSX?: JSX.Element;
    isLoading: boolean;
    models: T[];
    onSearch(value: string): void;
    renderRow(model: T): JSX.Element;
    title: string;
    totalCount?: number;
} & AdditionalProps;
export declare function ListSection<T extends Model>({ iconJSX, title, addButton, completedCount, totalCount, hasMore, isLoading, models, emptyState, onLoadMore, onSearch, renderRow, }: ListSectionProps<T>): JSX.Element;
export {};
