import React from 'react';
import { FiltersMap } from '@wix/bex-core';
import { CollectionTableBaseProps } from '../CollectionTable';
import { TableState } from '../../state';
import { GroupBy, RenderSection, SectionEvents } from '../CollectionSectionHeader';
export interface TableSectionsProps<T, F extends FiltersMap> extends CollectionTableBaseProps<T, F> {
    groupBy: GroupBy<T>;
    renderSection: RenderSection<T>;
    table: TableState<T, F>;
    collapsible?: boolean;
    events?: SectionEvents;
}
export declare const TableSections: (<T, F extends FiltersMap>({ groupBy, renderSection, table, columns, rowDetails, collapsible, events, ...collectionTableProps }: TableSectionsProps<T, F>) => React.JSX.Element) & {
    displayName: string;
};
export type TableSectionsProp<T> = {
    TableSections: typeof TableSections;
    groupBy: GroupBy<T>;
    renderSection: RenderSection<T>;
    collapsible?: boolean;
    events?: SectionEvents;
};
//# sourceMappingURL=TableSections.d.ts.map