import React from 'react'; import { type FileStorageItem, type FileStorageTable } from './FileStorage'; import './FileList.scss'; import { type FileListRenderItemProps } from './FileListItem'; export type LoadedViewport = { items: FileStorageItem[]; offset: number; itemCount: number; }; export type ListViewport = { top: number; bottom: number; }; export interface FileListProps { table: FileStorageTable; isMultiSelect?: boolean; focusedPath?: string; onFocusChange?: (focusedItem?: FileStorageItem) => void; onMove?: (files: FileStorageItem[], path: string) => void; onSelect: (file: FileStorageItem, event: React.SyntheticEvent) => void; onSelectionChange?: (selectedItems: FileStorageItem[]) => void; renderItem?: (props: FileListRenderItemProps) => JSX.Element; /** Height of each item in the list */ rowHeight?: number; overscanCount?: number; } /** * Component that displays and allows interaction with the file system in the provided FileStorageTable. */ export declare function FileList(props: FileListProps): JSX.Element; export default FileList; //# sourceMappingURL=FileList.d.ts.map