import { Action } from "../ir.js"; import { GenerativeUIDispatch } from "../types.js"; //#region src/vocabulary/dispatch.d.ts export declare const actionAttr: (a: Action | undefined) => string | undefined; /** * Fires `$action` through `$dispatch` when both are present, merging a runtime value into the payload under the reserved `$input` key (not `value`) so the user's input never clobbers a model-supplied `value` field. No-op when no registry is wired. The returned promise from an async handler is caught and re-thrown on a microtask so rejections surface rather than going unhandled. */ export declare const fire: ($action: Action | undefined, $dispatch: GenerativeUIDispatch | undefined, input?: unknown) => void; //#endregion //# sourceMappingURL=dispatch.d.ts.map