@@ -43,7 +43,7 @@ function getErrorMessage(error: unknown): string {
4343 }
4444
4545 /** Runtime hooks injected from the stateful UI module. */
46-export interface UiCommandRuntime {
46+interface UiCommandRuntime {
4747 /** Open an overlay and trigger a re-render. */
4848 openOverlay: (overlay: ActiveOverlay) => void;
4949 /** Dismiss the active overlay and trigger a re-render. */
@@ -63,7 +63,7 @@ export interface UiCommandRuntime {
6363 }
6464
6565 /** Public command actions consumed by `ui.ts` and unit tests. */
66-export interface UiCommandController {
66+interface UiCommandController {
6767 /** Apply a model selection and persist it to settings. */
6868 applyModelSelection: (
6969 state: AppState,
@@ -85,10 +85,7 @@ export interface UiCommandController {
8585 * @param state - Application state.
8686 * @param model - Selected model.
8787 */
88-export function applyModelSelection(
89- state: AppState,
90- model: Model<string>,
91-): void {
88+function applyModelSelection(state: AppState, model: Model<string>): void {
9289 state.model = model;
9390 state.settings = updateSettings(state.settingsPath, {
9491 defaultModel: `${model.provider}/${model.id}`,
@@ -101,10 +98,7 @@ export function applyModelSelection(
10198 * @param state - Application state.
10299 * @param effort - Selected reasoning effort.
103100 */
104-export function applyEffortSelection(
105- state: AppState,
106- effort: ThinkingLevel,
107-): void {
101+function applyEffortSelection(state: AppState, effort: ThinkingLevel): void {
108102 state.effort = effort;
109103 state.settings = updateSettings(state.settingsPath, {
110104 defaultEffort: effort,