import React from 'react'; import { IAction } from './types/action'; import { IFile } from './types/file'; export interface FileExplorerProps { files?: IFile[] | IFile; loading?: boolean; refetchFiles?: (path: string) => IFile[]; preview?: string; uploading?: { name?: string; percent?: number; }[]; previewEngines?: { filetype: string; component: React.FC<{ file: any; }>; }[]; actions?: IAction[]; onDrop?: (files: File[]) => void; onClick?: (item: IFile) => void; path: string; onNavigate?: (path: string) => void; selected?: string[]; onSelectionChange?: (id: string[]) => void; onCreateFolder?: (folderName: string) => Promise; onRename?: (file: IFile, newName: string) => Promise; onDelete?: (file: IFile | IFile[]) => Promise; } export declare const FileExplorer: React.FC;