import { ResolvedProjectPaths } from '../../projectRegistry.js'; import { ToolResult } from '../types.js'; /** * Wrap a tool handler with automatic project resolution. * Handles PROJECT_NOT_FOUND errors with helpful hints. */ export declare function withProject(args: { projectId?: string; }, fn: (resolved: ResolvedProjectPaths) => Promise): Promise; /** * Wrap a tool handler that requires a project, returning ToolResult on error. * Use this for top-level tool handlers. */ export declare function withProjectResult(args: { projectId?: string; }, fn: (resolved: ResolvedProjectPaths) => Promise): Promise; //# sourceMappingURL=project.d.ts.map