import { useToolbarCollectionSyncProps } from '../ToolbarCollection/useToolbarCollectionSyncProps';
import { useColumnsSyncProps } from '../../hooks/useColumnsSyncProps';
import { useTagsBulkAssignFoldersUtils } from '../Tags/useTagsBulkAssignFoldersUtils';
export function useTableFoldersSyncProps(props) {
    const { state, customColumns, columns } = props;
    const toolbar = state.toolbar;
    useToolbarCollectionSyncProps({
        ...props,
        state: toolbar,
        isUsingDragAndDrop: !!props.dragAndDrop,
        isUsingBulkActionsToolbar: !!props.bulkActionToolbar,
        isUsingHorizontalScroll: true,
        isUsingFolders: true,
        isUsingTableVirtualization: true,
    });
    useColumnsSyncProps({
        toolbar,
        customColumns,
        columns,
    });
    useTagsBulkAssignFoldersUtils({
        state,
    });
    return state;
}
//# sourceMappingURL=useTableFoldersSyncProps.js.map