import type { ResolvedProject } from '../types/index.js';
export type { ResolvedProject } from '../types/index.js';
/**
 * Resolve a project from its projectPath.
 *
 * Strategy:
 * 1. Compute projectId from hashProjectPath(projectPath).
 * 2. Try getKnowledge(projectId) — standard fast path.
 * 3. If null, check disk fingerprints:
 *    a. data/projects/{hash}/ exists
 *    b. planu/specs/ exists AND (planu/status.json exists OR planu/specs/ exists)
 * 4. If any fingerprint matches, create a minimal knowledge entry via saveKnowledge,
 *    log the recovery event, and return { recovered: true }.
 * 5. If neither knowledge nor fingerprint exists, return null.
 */
export declare function resolveProjectFromPath(projectPath: string): Promise<ResolvedProject | null>;
//# sourceMappingURL=project-resolver.d.ts.map