/**
 * SSH execution tool for Clawx.
 *
 * EXTRACTION NOTE:
 * OpenClaw has NO SSH implementation — remote execution goes through a "gateway"
 * and "node-host" abstraction that requires the full platform. This is written fresh.
 *
 * Uses ssh2 to connect to named SSH targets defined in config.
 * The model can run commands on remote machines, create files, and iterate.
 */
import type { AgentTool } from "../core/types.js";
import type { SshTarget } from "../types/index.js";
declare const SshRunSchema: import("@sinclair/typebox").TObject<{
    target: import("@sinclair/typebox").TString;
    command: import("@sinclair/typebox").TString;
    timeout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
}>;
export interface SshRunDetails {
    target: string;
    host: string;
    exitCode: number | null;
    durationMs: number;
}
export declare function createSshRunTool(targets: Record<string, SshTarget>): AgentTool<typeof SshRunSchema, SshRunDetails>;
export {};
//# sourceMappingURL=sshRun.d.ts.map