import type { JsonValue } from '../types/data-contract.js'; /** The domain label the gesture bytes open with. */ export declare const DISPATCH_GESTURE_LABEL_V1 = "ai.ggui/dispatch-gesture/v1"; /** * `label ‖ LF ‖ JCS({intent, actionData})`. An absent `actionData` is `null`, * the envelope's own default. Throws on a value JCS cannot encode. */ export declare function dispatchGestureBytes(intent: string, actionData: JsonValue | null | undefined): Uint8Array; /** * `ggui_runtime_submit_action`'s answer to a dispatch whose `actionId` its * session already recorded for a DIFFERENT gesture (ggui#1519): the id was * reused, the first gesture stands, and nothing of the second was recorded. * The view's runtime shows the user an error toast on it, as on any * `ok: false` (it sends no `ui/message`), so the user sees the gesture did * not go through; the second gesture does not reach the agent. * * DECLARED ONE RELEASE BEFORE IT IS EMITTED. The tool's output `code` is a * closed enum that reaches `tools/list`, so a client holding the previous * list must be able to parse it first. Until then, a server answers such a * dispatch as it answers a duplicate, and logs it. */ export declare const ACTION_ID_REUSED: "ACTION_ID_REUSED"; //# sourceMappingURL=dispatch-gesture.d.ts.map