import type { SessionStore } from "../storage/session-store.js"; export declare const isFileReadTool: (tool: string) => boolean; export declare const isFileWriteTool: (tool: string) => boolean; export declare const isAgentDispatchTool: (tool: string) => boolean; /** Read a file-path argument under either naming convention (filePath | file_path). */ export declare function extractFilePath(args: unknown): string | null; export type ToolBucket = "edit" | "read" | "agent" | "mcp" | "bash_infra" | "bash_git" | "bash_install" | "bash_other" | "web" | "other"; export type SessionMode = "code" | "debug" | "review" | "infra" | "general"; export declare function classifyTool(toolName: string, command?: string): ToolBucket; export declare function detectMode(recentBuckets: ToolBucket[], hasRecentErrors?: boolean): SessionMode; export declare function logToolUse(store: SessionStore, toolName: string, command?: string, hasError?: boolean, resultSize?: number): SessionMode | null; //# sourceMappingURL=tracker.d.ts.map