import type { SiteViewArtifactsReturn } from "../lib/routes.js"; /** * A Site with its chat beside it. The Site fills the page; the panel shows * one conversation (the newest when the Site opens, unless one is chosen) as * the regular chat (the same chat as on its own page, without the session * panel), narrower, and starts a new one with the regular composer. The * sidebar lists the Site's conversations, so the panel doesn't repeat them. * The panel can be resized, hidden and moved to the left; all three are * remembered per person, and choosing a conversation brings a hidden panel * back. Files dragged over the Site go to the chat, since the Site's frame * would otherwise take them. * * Edits go live: the Site is watched for new versions (its conversation's * tool calls, and a check every few seconds for anyone else's), the preview * reloads in place when one is published or restored, and the version chip * in its header offers the history and one-click Undo. * * Its header says whether the Site is on the web: "Published" opens or * copies the address, or Publish for people who can. Publishing and its * settings open the Site's own publish form in place of the Site, with the * chat still beside it. */ export declare function SiteViewRoute({ workspaceId, siteId, conversation, startNew, page, artifactsReturn, }: { workspaceId: string; siteId: string; /** The conversation open in the panel; the newest when omitted. */ conversation?: string | undefined; /** Open with a new conversation in the panel, its composer focused (Edit with Opengeni). */ startNew?: boolean | undefined; /** The Site's own address (`?page=/admin`), answered to its `site.location`; its root when omitted. */ page?: string | undefined; /** * The Artifacts page the Site was opened from: the Site's toolbar starts * with a Back to it, and the Site's own moves keep it. */ artifactsReturn?: SiteViewArtifactsReturn | undefined; }): import("react").JSX.Element;