export { type BashOperations, type BashSpawnContext, type BashSpawnHook, type BashToolDetails, type BashToolInput, type BashToolOptions, type BashStatusToolInput, type BashKillToolInput, createBashTool, createBashToolDefinition, createBashStatusTool, createBashStatusToolDefinition, createBashKillTool, createBashKillToolDefinition, createLocalBashOperations, } from "./bash.js"; export { createApplyPatchTool, createApplyPatchToolDefinition, type ApplyPatchOperations, type ApplyPatchToolDetails, type ApplyPatchToolInput, type ApplyPatchToolOptions, } from "./apply-patch.js"; export { withFileMutationQueue } from "./file-mutation-queue.js"; export { createReadTool, createReadToolDefinition, type ReadOperations, type ReadToolDetails, type ReadToolInput, type ReadToolOptions, } from "./read.js"; export { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize, type TruncationOptions, type TruncationResult, truncateHead, truncateLine, truncateTail, } from "./truncate.js"; import type { AgentTool } from "../../../agent-core/index.js"; import type { ToolDefinition } from "../extensions/types.js"; import { type ApplyPatchToolOptions } from "./apply-patch.js"; import { type BashToolOptions } from "./bash.js"; import { type ReadToolOptions } from "./read.js"; import { BashJobRegistry } from "../bash-jobs.js"; export type Tool = AgentTool; export type ToolDef = ToolDefinition; export type ToolName = "read" | "bash" | "apply_patch" | "bash_status" | "bash_kill"; export declare const allToolNames: Set; export interface ToolsOptions { read?: ReadToolOptions; bash?: BashToolOptions; applyPatch?: ApplyPatchToolOptions; /** Session-scoped registry shared by bash (background), bash_status, and bash_kill. */ jobs?: BashJobRegistry; } export declare function createToolDefinition(toolName: ToolName, cwd: string, options?: ToolsOptions): ToolDef; export declare function createTool(toolName: ToolName, cwd: string, options?: ToolsOptions): Tool; export declare function createCodingToolDefinitions(cwd: string, options?: ToolsOptions): ToolDef[]; export declare function createReadOnlyToolDefinitions(cwd: string, options?: ToolsOptions): ToolDef[]; export declare function createAllToolDefinitions(cwd: string, options?: ToolsOptions): Record; export declare function createCodingTools(cwd: string, options?: ToolsOptions): Tool[]; export declare function createReadOnlyTools(cwd: string, options?: ToolsOptions): Tool[]; export declare function createAllTools(cwd: string, options?: ToolsOptions): Record; //# sourceMappingURL=index.d.ts.map