import type { RootState } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-root/state"; import type { RootAction } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/action-origin.generated"; /** * Pure reducer for root state. Handles all {@link RootAction} variants. */ export declare function rootReducer(state: RootState, action: RootAction, log?: (msg: string) => void): RootState;