import type { OpenGeniClient, WorkspaceArtifact } from "@opengeni/sdk"; import { loadSiteSnapshot } from "./site-snapshot.js"; import { type PublishedHtmlArtifactToolBridge } from "./components/artifacts/published-html-artifact-frame.js"; /** Implement with an authenticated host proxy. Never put an organization key * in browser props; replace the client object when the host actor changes. */ export type SiteClient = Pick; type SiteScope = { client: SiteClient; workspaceId: string; className?: string; }; export { loadSiteSnapshot }; export type SiteListProps = SiteScope & { status?: "active" | "archived"; onOpen: (site: WorkspaceArtifact) => void; }; export type SiteDetailProps = SiteScope & { siteId: string; /** Presentation hint only: the backend still enforces artifacts:publish. */ canPublish?: boolean; toolBridge?: PublishedHtmlArtifactToolBridge; }; export declare function SiteList(props: SiteListProps): import("react").JSX.Element; export declare function SiteDetail(props: SiteDetailProps): import("react").JSX.Element;