import type { TreeNode, TStorage } from '../lib/types.js'; import { type PreviewKind } from './previewType.js'; interface FilePreviewViewerProps { node: TreeNode; kind: PreviewKind; url: string | null; urlLoading: boolean; urlError: string | null; /** The error's own text, shown under `urlError` as technical detail. */ urlErrorDetail?: string | undefined; /** Image zoom percentage; 100 fits the stage. */ zoom?: number; onDownload?: (() => void) | undefined; storage?: TStorage | null; } export declare function FilePreviewViewer({ node, kind, url, urlLoading, urlError, urlErrorDetail, zoom, onDownload, storage, }: FilePreviewViewerProps): import("react").JSX.Element | null; export {};