import { A as IFileSystem, _ as CustomCommand, i as CommandInspector, o as CommandPolicyOptions, p as ApplyPatchOptions, r as CommandInspectDecision, t as WorkspaceFileSystemViewOptions } from "../filesystem-view-BTebCKdE.js"; import { ToolSet } from "ai"; //#region src/ai-sdk/options.d.ts interface BashToolLimits { readonly maxBashOutput?: number; readonly maxCommandLength?: number; readonly maxExecutionTimeMs?: number; } interface BashToolOptions { readonly customCommands?: readonly CustomCommand[]; readonly limits?: BashToolLimits; readonly policy?: CommandInspector; readonly policyOptions?: CommandPolicyOptions; } interface ViewImageOptions { readonly enabled: boolean; readonly maxBytes?: number; } interface ViewImageResult { readonly data: string; readonly mediaType: string; readonly path: string; } interface CreateToolsOptions { readonly applyPatch?: boolean | ApplyPatchOptions; readonly bash?: BashToolOptions; readonly viewImage?: ViewImageOptions; /** The authorized tool view. Commit and history handles stay with the host. */ readonly filesystem: IFileSystem; } //#endregion //#region src/ai-sdk/bash.d.ts export declare const DEFAULT_MAX_BASH_EXECUTION_TIME_MS = 30000; //#endregion //#region src/ai-sdk/create-tools.d.ts type WorkspaceToolSet = ToolSet; interface WorkspaceTools { readonly tools: WorkspaceToolSet; readonly filesystem: IFileSystem; } export declare const createTools: (options: CreateToolsOptions) => Promise; //#endregion export type { BashToolLimits, BashToolOptions, CommandInspectDecision, CommandInspector, CreateToolsOptions, ViewImageOptions, ViewImageResult, WorkspaceFileSystemViewOptions, WorkspaceToolSet, WorkspaceTools };