import { DynamicStructuredTool } from '@langchain/core/tools';
import { z } from 'zod';
import { type ToolExecutionObserver } from './observer.js';
import type { YagrShellCommandsConfig } from '../config/yagr-config-service.js';
export declare function createRunScriptTool(observer?: ToolExecutionObserver, shellCommandsConfig?: YagrShellCommandsConfig): DynamicStructuredTool<z.ZodObject<{
    command: z.ZodString;
    cwd: z.ZodOptional<z.ZodString>;
    timeoutMs: z.ZodDefault<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    command: string;
    timeoutMs: number;
    cwd?: string | undefined;
}, {
    command: string;
    cwd?: string | undefined;
    timeoutMs?: number | undefined;
}>, {
    command: string;
    timeoutMs: number;
    cwd?: string | undefined;
}, {
    command: string;
    cwd?: string | undefined;
    timeoutMs?: number | undefined;
}, string, unknown, "runScript">;
//# sourceMappingURL=run-script.d.ts.map