import { type VerboseLevel } from "../auto-reply/thinking.js"; import type { CliDeps } from "../cli/deps.types.js"; import type { SessionEntry } from "../config/sessions/types.js"; import { type RuntimeEnv } from "../runtime.js"; import { resolveAgentRuntimeConfig } from "./agent-runtime-config.js"; import type { AgentCommandIngressOpts, AgentCommandOpts } from "./command/types.js"; declare function prepareAgentCommandExecution(opts: AgentCommandOpts & { senderIsOwner: boolean; }, runtime: RuntimeEnv): Promise<{ body: string; transcriptBody: string; cfg: import("klaw/plugin-sdk").KlawConfig; configuredThinkingCatalog: import("./model-catalog.types.ts").ModelCatalogEntry[]; normalizedSpawned: { spawnedBy?: string; groupId?: string; groupChannel?: string; groupSpace?: string; workspaceDir?: string; }; agentCfg: import("klaw/plugin-sdk/config-types").AgentDefaultsConfig | undefined; thinkOverride: import("../auto-reply/thinking.shared.ts").ThinkLevel | undefined; thinkOnce: import("../auto-reply/thinking.shared.ts").ThinkLevel | undefined; verboseOverride: VerboseLevel | undefined; timeoutMs: number; sessionId: string; sessionKey: string | undefined; sessionEntry: SessionEntry | undefined; sessionStore: Record | undefined; storePath: string; isNewSession: boolean; persistedThinking: import("../auto-reply/thinking.shared.ts").ThinkLevel | undefined; persistedVerbose: VerboseLevel | undefined; sessionAgentId: string; outboundSession: import("../infra/outbound/session-context.js").OutboundSessionContext | undefined; workspaceDir: string; agentDir: string; modelManifestContext: { manifestPlugins: readonly import("../plugins/manifest-registry.ts").PluginManifestRecord[]; }; runId: string; acpManager: import("../acp/control-plane/manager.core.ts").AcpSessionManager; acpResolution: import("../acp/control-plane/manager.types.ts").AcpSessionResolution | null; }>; export declare function agentCommand(opts: AgentCommandOpts, runtime?: RuntimeEnv, deps?: CliDeps): Promise; export declare function agentCommandFromIngress(opts: AgentCommandIngressOpts, runtime?: RuntimeEnv, deps?: CliDeps): Promise; export declare const testing: { resolveAgentRuntimeConfig: typeof resolveAgentRuntimeConfig; prepareAgentCommandExecution: typeof prepareAgentCommandExecution; }; /** @deprecated Use `testing`. */ export { testing as __testing };