import React from 'react'; import type { ToolbarGroup } from '../../renderers/toolbar.types'; import type { Translator } from '@eternalheart/file-preview-core'; export interface FilePreviewToolbarProps { fileName: string; currentIndex: number; totalFiles: number; toolGroups: ToolbarGroup[]; t: Translator; onDownload: () => void; onClose?: () => void; showClose: boolean; showDownload: boolean; } /** * 文件预览顶部工具栏组件 * - 桌面端:单行显示所有按钮 * - 移动端:第一行显示文件名 + 下载/关闭,第二行显示工具按钮 */ export declare const FilePreviewToolbar: React.FC; //# sourceMappingURL=FilePreviewToolbar.d.ts.map