export interface GatewayDispatchEvidence { request_phase: "connection_handshake" | "before_dispatch" | "submitted" | "unknown"; request_dispatched?: boolean; evidence_source: "gateway_transport_error" | "legacy_structured_handshake"; gateway_error_kind: string; } /** Parse the CLI's error envelope, never an arbitrary timeout substring. * The legacy handshake case adapts the OpenClaw 2026.9.9 CLI contract: its * opening handshake precedes hello and the primary RPC; a post-RPC close stops * that invocation rather than reconnecting. Unknown shapes remain uncertain. */ export declare function gatewayDispatchEvidence(text: string): GatewayDispatchEvidence | undefined; /** Only positive evidence for the exact run can settle an uncertain send. * A timeout may mean no record OR an active run. Neither proves acceptance. * No response bodies, terminal replies, or channel receipts are retained. */ export declare function callbackAcceptanceObservation(text: string, runId: string): "pending" | "ok" | "error" | undefined;