import type { OpenMenu } from '../components/ContextMenu.js'; import type { MenuEntry } from '../components/MenuEntries.js'; import { type LoadMoreState } from './LoadMoreRow.js'; import type { TreeNode } from './lib/types.js'; interface FileTableProps { nodes: TreeNode[]; checkedItems: Set; allSelected: boolean; someSelected: boolean; onSelectAll: () => void; /** A row's menu, given the row, so a delete can name the row it removes. */ getItems: (node: TreeNode, row: Element | null) => MenuEntry[]; openMenu: OpenMenu; onOpen: (node: TreeNode) => void; onToggleCheck: (node: TreeNode, checked: boolean) => void; onPreview: (node: TreeNode) => void; /** The URL of a path; set, each row is a link to its node. */ pathHref?: ((path: string) => string) | undefined; /** Set when the folder has pages left to fetch. */ loadMore?: LoadMoreState | undefined; } /** The file table. Give it a `key` of the folder path: a folder change must reset * the cursor, the scroll offset and the virtualizer's measurements, and a remount * does all three without a synchronising effect. */ export declare function FileTable({ nodes, checkedItems, allSelected, someSelected, onSelectAll, getItems, openMenu, onOpen, onToggleCheck, onPreview, pathHref, loadMore, }: FileTableProps): import("react").JSX.Element; export {};