import type { AgentLearningContext, AgentLearningOverrides } from "@opengeni/sdk"; import { useAppContext } from "../../app-context.js"; import { LEARNING_MODE_LABEL } from "../../lib/agent-learning-vocabulary.js"; export { LEARNING_MODE_LABEL }; /** Shared editor: defaults and sparse chat/task overrides use the same authority. */ type AgentLearningSettingsEditorProps = { workspaceId: string; scope: "workspace" | "personal"; source?: AgentLearningContext | undefined; canEdit?: boolean | undefined; onSaved?: (() => void) | undefined; compact?: boolean | undefined; }; export declare function AgentLearningSettingsEditor(props: AgentLearningSettingsEditorProps): import("react").JSX.Element; /** Reads a chat's settings into the cache before its menu opens. Never throws. */ export declare function prefetchAgentLearningSettings(client: ReturnType["client"], props: AgentLearningSettingsEditorProps): void; /** * The editor's rows while its settings load: the same rows and heights, so a * menu or page that opens onto it never jumps when they arrive. */ export declare function AgentLearningSkeleton({ compact }: { compact?: boolean | undefined; }): import("react").JSX.Element; /** Draft choices are committed atomically with creation, before a schedule can run. */ export declare function AgentLearningDraftEditor(props: { workspaceId: string; scope: "workspace" | "personal"; value: AgentLearningOverrides; onChange: (value: AgentLearningOverrides) => void; disabled?: boolean | undefined; compact?: boolean | undefined; }): import("react").JSX.Element;