/// import './VersionList.scss'; import '../../../styles/global.scss'; import { FileInfo } from '@solarpunkltd/file-manager-lib'; import { DownloadProgress, TrackDownloadProps } from '../../../constants/transfers'; export declare const truncateNameMiddle: (s: string, max?: number) => string; interface VersionListProps { versions: FileInfo[]; headFi: FileInfo; onDownload: (props: TrackDownloadProps) => (dp: DownloadProgress) => void; restoreVersion: (fi: FileInfo) => Promise; } export declare function VersionsList({ versions, headFi, restoreVersion, onDownload }: VersionListProps): JSX.Element | null; export {};