import type { ReplyPayload } from "../../auto-reply/types.js";
import { type CliDeps } from "../../cli/outbound-send-deps.js";
import type { KaijiBotConfig } from "../../config/config.js";
import type { SessionEntry } from "../../config/sessions.js";
import type { OutboundSessionContext } from "../../infra/outbound/session-context.js";
import type { RuntimeEnv } from "../../runtime.js";
import type { AgentCommandOpts } from "./types.js";
type RunResult = Awaited<ReturnType<(typeof import("../pi-embedded.js"))["runEmbeddedPiAgent"]>>;
export declare function normalizeAgentCommandReplyPayloads(params: {
    cfg: KaijiBotConfig;
    opts: AgentCommandOpts;
    outboundSession: OutboundSessionContext | undefined;
    payloads: RunResult["payloads"];
    result: RunResult;
    deliveryChannel?: string;
    accountId?: string;
    applyChannelTransforms?: boolean;
}): ReplyPayload[];
export declare function deliverAgentCommandResult(params: {
    cfg: KaijiBotConfig;
    deps: CliDeps;
    runtime: RuntimeEnv;
    opts: AgentCommandOpts;
    outboundSession: OutboundSessionContext | undefined;
    sessionEntry: SessionEntry | undefined;
    result: RunResult;
    payloads: RunResult["payloads"];
}): Promise<{
    payloads: import("../../infra/outbound/payloads.js").OutboundPayloadJson[];
    meta: import("../pi-embedded.js").EmbeddedPiRunMeta;
}>;
export {};
