import { type CliDeps } from "../../cli/outbound-send-deps.js"; import type { RemoteClawConfig } from "../../config/config.js"; import type { SessionEntry } from "../../config/sessions.js"; import type { OutboundSessionContext } from "../../infra/outbound/session-context.js"; import type { AgentDeliveryResult } from "../../middleware/types.js"; import type { RuntimeEnv } from "../../runtime.js"; import type { AgentCommandOpts } from "./types.js"; export declare function deliverAgentCommandResult(params: { cfg: RemoteClawConfig; deps: CliDeps; runtime: RuntimeEnv; opts: AgentCommandOpts; outboundSession: OutboundSessionContext | undefined; sessionEntry: SessionEntry | undefined; result: AgentDeliveryResult; payloads: AgentDeliveryResult["payloads"]; }): Promise<{ payloads: import("../../infra/outbound/payloads.js").OutboundPayloadJson[]; meta: { durationMs: number; aborted: boolean; agentMeta: { sessionId: string | undefined; usage: import("../../middleware/types.js").AgentUsage | undefined; }; }; }>;