import type { BashInput, FileEditInput, FileMultiEditInput, FileWriteInput, GlobInput, McpInput, WebFetchInput, WebSearchInput } from '@anthropic-ai/claude-code/sdk-tools'; export declare enum ToolType { Read = "Read", Write = "Write", Edit = "Edit", Bash = "Bash", Grep = "Grep", Glob = "Glob", LS = "LS", MultiEdit = "MultiEdit", NotebookRead = "NotebookRead", NotebookEdit = "NotebookEdit", WebFetch = "WebFetch", TodoRead = "TodoRead", TodoWrite = "TodoWrite", WebSearch = "WebSearch", Task = "Task", MCPTool = "MCPTool" } export declare const ApprovableTools: readonly [ToolType.Write, ToolType.Edit, ToolType.Bash, ToolType.MultiEdit, ToolType.Glob, ToolType.WebSearch, ToolType.WebFetch, ToolType.Bash, ToolType.MCPTool]; type ApprovableTool = (typeof ApprovableTools)[number]; export declare function isApprovableTool(value: string): value is ApprovableTool; type ApprovableInputs = BashInput | FileEditInput | FileMultiEditInput | FileWriteInput | GlobInput | WebFetchInput | WebSearchInput | McpInput; export type PermissionPayload = { toolName: ApprovableTool; input: ApprovableInputs; requestId: string; }; export declare function isBashInput(value: unknown): value is BashInput; export declare function isFileEditInput(value: unknown): value is FileEditInput; export interface FileEditOperation { /** * The text to replace */ old_string: string; /** * The text to replace it with */ new_string: string; /** * Replace all occurrences of old_string (default false). */ replace_all?: boolean; } export declare function isFileMultiEditInput(value: unknown): value is FileMultiEditInput; export declare function isFileWriteInput(value: unknown): value is FileWriteInput; export declare function isGlobInput(value: unknown): value is GlobInput; export declare function isWebFetchInput(value: unknown): value is WebFetchInput; export declare function isWebSearchInput(value: unknown): value is WebSearchInput; export declare function isMcpInput(value: unknown): value is McpInput; export {}; //# sourceMappingURL=toolTypes.d.ts.map