import type { AppContextValue } from "../app-context.js"; /** The one "Couldn't load workspace MCP tools" toast. */ export declare const WORKSPACE_MCP_TOOLS_TOAST_ID = "opengeni-workspace-mcp-tools"; /** * Loads the routed workspace's integrations into app state: GitHub and personal * GitHub repositories and the workspace MCP catalog, after clearing the * previous workspace's repository selection. GitHub refreshes again when the * page comes back into view. Reads that fail because Opengeni is briefly * unreachable (a deploy, a network drop) try again by themselves, quietly. Every host that shows a workspace's sessions (the * web app's workspace route, `SessionApp`) runs it once the workspace owns the * app state (`workspaceStateOwnerId`) and the person can open it. */ export declare function useWorkspaceIntegrations(context: Pick, workspaceId: string, enabled: boolean): void;