import type { WorkspaceArtifactDetailResponse, WorkspaceArtifactVersion } from "@opengeni/sdk"; /** * The version Undo goes back to: the one live before the change that made * the current version live (a publish or a restore), else the revision * before it. Null when there is nothing to go back to. */ export declare function siteUndoTarget(detail: Pick): WorkspaceArtifactVersion | null; /** * The Site header's version chip: the version that is live, its recent * history, one-click Undo and Restore for anyone who may publish the Site. * Restoring moves the Site to an earlier version, which goes live at once, * like a publish; nothing is lost and Undo comes back. */ export declare function SiteVersionMenu({ workspaceId, siteId, detail, canPublish, onRestored, }: { workspaceId: string; siteId: string; detail: WorkspaceArtifactDetailResponse; canPublish: boolean; /** After a restore (or a refused one), so the view reads the Site again. */ onRestored: () => void; }): import("react").JSX.Element | null;