import { type OpenClawCallbackTransport } from "./openclaw-callback-transport.js"; import { type DeliverCallbackInput } from "./callback-outbox-policy.js"; import { type CallbackTransportDeliverInput } from "./callback-transport.js"; import type { Conversation } from "./protocol.js"; type ResolvedCallbackTransportDelivery = Omit; export interface OpenClawManagedCallbackCliAdapterPorts { now(): Date; environment(): NodeJS.ProcessEnv; redactConversation(conversation: Conversation): unknown; textSummary(value: unknown): unknown; log(level: "info" | "warn" | "error", event: string, fields: Record): void; } export interface OpenClawManagedCallbackCliAdapter { transport: OpenClawCallbackTransport; resolve(input: DeliverCallbackInput): ResolvedCallbackTransportDelivery; } /** * Compose the legacy OpenClaw process adapter behind the host-neutral callback * transport port. The CLI root supplies runtime capabilities but owns no * delivery parsing, logging, or route-resolution policy. */ export declare function createOpenClawManagedCallbackCliAdapter(ports: OpenClawManagedCallbackCliAdapterPorts): OpenClawManagedCallbackCliAdapter; /** Keep Store-private mutation and outbox authority out of Gateway params. */ export declare function callbackConversationProjection(conversation: Conversation): Conversation; export {};