import { FileBrowserLabels, FilePreview } from "./types.js"; import * as react_jsx_runtime0 from "react/jsx-runtime"; //#region src/react/file-browser/file-preview-panel.d.ts /** Props for the FilePreviewPanel component */ interface FilePreviewPanelProps extends Omit, "children"> { /** Full path of the selected file (null when nothing is selected) */ selectedFile: string | null; /** Preview data for the selected file */ preview: FilePreview | null; /** Whether the preview is loading */ previewLoading?: boolean; /** Called when the download button is clicked */ onDownload?: (filePath: string) => void; /** Called when the delete button is clicked */ onDelete?: (filePath: string) => void; /** Whether a delete operation is in progress */ deleting?: boolean; /** Image preview source — string URL or function that receives the file path */ imagePreviewSrc?: string | ((filePath: string) => string); /** Custom file size formatter (defaults to formatFileSize) */ formatSize?: (bytes: number | undefined) => string; /** Customizable labels */ labels?: Pick; } /** Preview panel displaying file metadata, image/text preview, and download/delete actions */ declare function FilePreviewPanel({ selectedFile, preview, previewLoading, onDownload, onDelete, deleting, imagePreviewSrc, formatSize, labels, className, ...props }: FilePreviewPanelProps): react_jsx_runtime0.JSX.Element; //#endregion export { FilePreviewPanel, FilePreviewPanelProps }; //# sourceMappingURL=file-preview-panel.d.ts.map