export { type BashOperations, type BashSpawnContext, type BashSpawnHook, type BashToolDetails, type BashToolInput, type BashToolOptions, createBashTool, createBashToolDefinition, createLocalBashOperations, } from "./bash.js"; export { createEditTool, createEditToolDefinition, type EditOperations, type EditToolDetails, type EditToolInput, type EditToolOptions, } from "./edit.js"; export { withFileMutationQueue } from "./file-mutation-queue.js"; export { createFindTool, createFindToolDefinition, type FindOperations, type FindToolDetails, type FindToolInput, type FindToolOptions, } from "./find.js"; export { createGrepTool, createGrepToolDefinition, type GrepOperations, type GrepToolDetails, type GrepToolInput, type GrepToolOptions, } from "./grep.js"; export { createLsTool, createLsToolDefinition, type LsOperations, type LsToolDetails, type LsToolInput, type LsToolOptions, } from "./ls.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"; export { createWriteTool, createWriteToolDefinition, type WriteOperations, type WriteToolInput, type WriteToolOptions, } from "./write.js"; import type { AgentTool } from "@earendil-works/pi-agent-core"; import type { ToolDefinition } from "../extensions/types.js"; import { type BashToolOptions } from "./bash.js"; import { type EditToolOptions } from "./edit.js"; import { type FindToolOptions } from "./find.js"; import { type GrepToolOptions } from "./grep.js"; import { type LsToolOptions } from "./ls.js"; import { type ReadToolOptions } from "./read.js"; import { type WriteToolOptions } from "./write.js"; export type Tool = AgentTool; export type ToolDef = ToolDefinition; export type ToolName = "read" | "bash" | "edit" | "write" | "grep" | "find" | "ls"; export declare const allToolNames: Set; export interface ToolsOptions { read?: ReadToolOptions; bash?: BashToolOptions; write?: WriteToolOptions; edit?: EditToolOptions; grep?: GrepToolOptions; find?: FindToolOptions; ls?: LsToolOptions; } 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