UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines (2 loc) • 305 B
import type { InteractiveReply, InteractiveReplyBlock } from "../../../interactive/payload.js"; export declare function reduceInteractiveReply<TState>(interactive: InteractiveReply | undefined, initialState: TState, reduce: (state: TState, block: InteractiveReplyBlock, index: number) => TState): TState;