import type { AgentToolResult } from "@mariozechner/pi-agent-core"; import type { ExecToolDetails } from "./bash-tools.exec-types.js"; import { type ExecAsk, type ExecSecurity } from "../infra/exec-approvals.js"; export type ExecuteNodeHostCommandParams = { command: string; workdir: string; env: Record; requestedEnv?: Record; requestedNode?: string; boundNode?: string; sessionKey?: string; turnSourceChannel?: string; turnSourceTo?: string; turnSourceAccountId?: string; turnSourceThreadId?: string | number; 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>;