import type { OpenGeniBrowserClient } from "@opengeni/sdk/browser"; import type { Session, SessionEvent } from "@opengeni/sdk"; import { type SessionTenancyOperationController, type SessionTenancyOperationScope } from "../../lib/session-tenancy-operation-controller.js"; import { type WorkspaceTransitionIdentity } from "../../lib/workspace-transition.js"; export default function SessionRouteAuxiliary(props: { session: Session; events: SessionEvent[]; workspaceId?: never | undefined; sessionId?: never | undefined; } | { workspaceId: string; sessionId: string; loadError: unknown; /** Retry the session read now (it also keeps retrying in the background). */ onRetry?: (() => void) | undefined; session?: never | undefined; events?: never | undefined; }): import("react").JSX.Element; export declare function SessionTenancyRouteControl({ session, events, sourceEventId, onForkClose, }: { session: Session; events: SessionEvent[]; sourceEventId?: string | undefined; onForkClose?: (() => void) | undefined; }): import("react").JSX.Element | null; export declare function SessionTenancyControl({ sourceEventId, onForkClose, session, events, client, managedSession, canForkPrivately, scopeLabel, captureWorkspaceInvocation, ownsWorkspaceInvocation, operationController, operationScope, onOpenSession, }: { session: Session; events?: SessionEvent[] | undefined; sourceEventId?: string | undefined; onForkClose?: (() => void) | undefined; client: OpenGeniBrowserClient; managedSession: boolean; /** False also covers "not yet known": a private fork is never offered on a * guess, because the database refuses it under the 0323 product decision. */ canForkPrivately: boolean; scopeLabel: string; captureWorkspaceInvocation: (workspaceId: string) => WorkspaceTransitionIdentity | null; ownsWorkspaceInvocation: (workspaceId: string, accepted: WorkspaceTransitionIdentity) => boolean; operationController: SessionTenancyOperationController; operationScope: SessionTenancyOperationScope; onRefreshSession?: (() => Promise) | undefined; onOpenSession: (workspaceId: string, sessionId: string) => void; }): import("react").JSX.Element | null;