import type { ClientConfig } from "@opengeni/sdk"; /** * The client config fields the server answers for one workspace: voice input * readiness and what EU-only inference switched off there. Boot reads the * config without a workspace, so these come from a read for the open one. */ export type WorkspaceClientConfig = Pick; export declare function workspaceClientConfig(config: ClientConfig): WorkspaceClientConfig; /** * The boot config with the open workspace's fields. Until that workspace has * answered, voice input stays off and nothing else changes. */ export declare function withWorkspaceClientConfig(config: ClientConfig, workspace: WorkspaceClientConfig | undefined): ClientConfig; /** * Reads the open workspace's config now, on focus and on `refresh()`; retires * old workspace reads before they can update the shared app state. */ export declare function startWorkspaceClientConfigRefresh(input: { read(signal: AbortSignal): Promise; ownsWorkspace(): boolean; apply(config: WorkspaceClientConfig): void; subscribeFocus(refresh: () => void): () => void; }): () => void;