import type { CanvasAction } from '../action-origin.generated.js'; import type { CanvasState } from './state.js'; /** * Pure reducer for canvas state. * * The channel currently has one full-replacement action. The `if` form keeps * unknown future actions forward-compatible because TypeScript cannot narrow a * single-variant action union to `never` for the usual exhaustiveness helper. */ export declare function canvasReducer(state: CanvasState, action: CanvasAction, log?: (msg: string) => void): CanvasState; //# sourceMappingURL=reducer.d.ts.map