import { type WorkspaceTab } from "../../../index.js"; import { type ReactNode } from "react"; import type { SessionEvent } from "../../types.js"; /** * The session workspace dock as apps/web mounts it: the package workbench * (Changes | Files | Terminal | Desktop + machine chip) with the app's Run and * Debug tabs injected around it, and errors routed to sonner. */ export declare function SessionWorkspace(props: { workspaceId: string; sessionId: string; preferenceOwnerId: string; events: SessionEvent[]; primary: ReactNode; /** App tabs shown before the workbench tabs (e.g. Run). */ leadingTabs?: WorkspaceTab[] | undefined; /** App tabs shown after the workbench tabs (e.g. Debug). */ trailingTabs?: WorkspaceTab[] | undefined; /** The landing tab id (the app defaults to its Run tab). */ initialTab?: string | undefined; openTabRequest?: { tab: string; requestId: number; } | null | undefined; collapsed: boolean; onCollapsedChange: (collapsed: boolean) => void; mobileLeadingControl?: ReactNode | undefined; openFileRequest?: { path: string; line?: number | null | undefined; requestId: number; } | null | undefined; }): import("react").JSX.Element;