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<string, string>;
    requestedEnv?: Record<string, string>;
    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<string>;
};
export declare function executeNodeHostCommand(params: ExecuteNodeHostCommandParams): Promise<AgentToolResult<ExecToolDetails>>;
