import type { WorkspaceArtifact } from "@opengeni/sdk"; /** * Copies a Site's current version into a new Site the person owns. The copy * opens on its own page unless the caller keeps the person where they are * (`open: false`), when a toast offers to open it. */ export declare function useDuplicateSite(workspaceId: string): { duplicate: (site: Readonly<{ id: string; title: string; }>, { open }?: { open?: boolean | undefined; }) => Promise; busy: boolean; };