import { BatchItemStatusView } from "@photoroom-engine/web"; import { type VariantProps } from "class-variance-authority"; import type { ShortcutKey } from "../menuShortcuts"; import { type BatchItemMenuContentLabels } from "./BatchItemMenuContent"; declare const containerCva: (props?: ({ isSelected?: boolean | null | undefined; autoRatio?: boolean | null | undefined; isDragSelecting?: boolean | null | undefined; isSharedCanvas?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; type ContainerVariants = VariantProps; export type BatchTileProps = ContainerVariants & { id: TId; fileName: string; name?: string; /** Rendered next to `name` in the header (e.g. `"1000 × 1000"`); hidden when `name` is unset. */ size?: string; status?: BatchItemStatusView; isLoading?: boolean; hasError?: boolean; onSelect: (id: TId, e: React.MouseEvent) => void; onClick: (id: TId) => void; onDelete: (id: TId) => void; onDuplicate: (id: TId) => void; onRename?: (id: TId, newName: string) => void; onSaveAsTemplate?: (id: TId) => void; onRefresh?: (id: TId) => void; onSelectAll?: () => void; onDownload?: () => void; isSelectAllDisabled?: boolean; formatShortcut?: (key: ShortcutKey) => string; menuLabels: BatchItemMenuContentLabels; onCopy?: () => void; onPaste?: () => void; onCopyEdits?: (id: TId) => void; onPasteEdits?: (id?: TId) => void; isPasteEditsDisabled?: boolean; hideOverlayActions?: boolean; /** A layer inside the tile is selected: the tile yields its accent border and shows it only on hover. */ hasLayerSelection?: boolean; children: React.ReactElement; visualRef?: React.Ref; tileOverlay?: React.ReactElement; } & Omit, "onClick" | "onSelect"> & React.RefAttributes; export declare function BatchTile({ id, fileName, name, size, status, isLoading, hasError, isSelected, autoRatio, isDragSelecting, isSharedCanvas, onSelect, onClick, onDelete, onDuplicate, onRename, onSaveAsTemplate, onRefresh, onSelectAll, onDownload, isSelectAllDisabled, formatShortcut, menuLabels, onCopy, onPaste, onCopyEdits, onPasteEdits, isPasteEditsDisabled, hideOverlayActions, hasLayerSelection, children, visualRef, tileOverlay, className, style, ref, ...restProps }: BatchTileProps): import("react").JSX.Element; export declare namespace BatchTile { var displayName: string; } export {}; //# sourceMappingURL=BatchTile.d.ts.map