import { i as OpenClawConfig } from "./types.openclaw-DH5a2ppk.js"; import { Do as HookContext } from "./types-DIBfaBvi.js"; import { r as AnyAgentTool } from "./common-CZ-od2BP.js"; import { n as ToolSearchCatalogToolExecutor, t as ToolSearchCatalogRef } from "./tool-search-B-sO8zA1.js"; //#region src/agents/harness/tool-surface-bridge.d.ts type AgentHarnessToolSurfaceRuntime = { codeModeControlsEnabled: boolean; compactTools: (tools: AnyAgentTool[], options?: { hookContext?: HookContext; localModelLeanApplied?: boolean; }) => { tools: AnyAgentTool[]; }; config: OpenClawConfig | undefined; includeToolSearchControls: boolean; runtimeToolAllowlist: string[] | undefined; toolSearchCatalogRef: ToolSearchCatalogRef | undefined; toolSearchControlsEnabled: boolean; cleanup: () => void; toolSearchCatalogExecutor: ToolSearchCatalogToolExecutor | undefined; }; declare function createAgentHarnessToolSurfaceRuntime(params: { abortSignal?: AbortSignal; agentId?: string; config?: OpenClawConfig; disableTools?: boolean; executeTool: ToolSearchCatalogToolExecutor; forceMessageTool?: boolean; isRawModelRun?: boolean; modelId?: string; modelProvider?: string; modelToolsEnabled: boolean; prompt?: string; runId?: string; runtimeToolAllowlist?: readonly string[]; sessionId?: string; sessionKey?: string; sourceReplyDeliveryMode?: string; toolsAllow?: readonly string[]; }): AgentHarnessToolSurfaceRuntime; //#endregion export { type AgentHarnessToolSurfaceRuntime, createAgentHarnessToolSurfaceRuntime };