Check if all files are selected
Check if some (but not all) files are selected
Clear all selections
Get files to operate on (multi-selected or single selected file)
Get the selected item if it's a file
Get the selected item if it's a folder
Handle select all checkbox
Handle clicking on an item (single select)
Handle checkbox toggle for multi-select
Check if a file is selected
Set of selected file IDs for multi-select
Currently selected single item (file or folder)
Result of the useFileSelection hook.