import type { ArtifactCatalogItem } from "@opengeni/sdk"; import { type ReactNode } from "react"; /** * One large viewer for the artifacts a list shows. It steps through exactly * that list in its order, so search, filters and sorting carry over, with the * previous/next buttons, the Left/Right arrow keys or a swipe. Images fill the * window; every other kind shows the preview it has in the session panel. A * Radix dialog over the whole window, like an artifact's full view, so Escape * closes it and focus returns to the list. */ export declare function ArtifactViewer({ workspaceId, items, currentKey, onCurrentKeyChange, onClose, actions, }: { workspaceId: string; items: readonly ArtifactCatalogItem[]; /** `artifactKey` of the artifact on screen. */ currentKey: string; onCurrentKeyChange: (key: string) => void; onClose: () => void; /** The current artifact's own menu (Open, Copy link, …), at the end of the header. */ actions?: ReactNode; }): import("react").JSX.Element | null;