import type { AgentToolResult } from "@mariozechner/pi-agent-core"; import { type ExecAsk, type ExecSecurity } from "../infra/exec-approvals.js"; import type { ExecToolDetails } from "./bash-tools.exec-types.js"; export type ExecuteNodeHostCommandParams = { command: string; workdir: string; env: Record; requestedEnv?: Record; requestedNode?: string; boundNode?: string; sessionKey?: string; agentId?: string; security: ExecSecurity; ask: ExecAsk; timeoutSec?: number; defaultTimeoutSec: number; approvalRunningNoticeMs: number; warnings: string[]; notifySessionKey?: string; trustedSafeBinDirs?: ReadonlySet; }; export declare function executeNodeHostCommand(params: ExecuteNodeHostCommandParams): Promise>;