/**
 * Locations where an ancestor `data/projects/<projectId>/` directory was
 * found. Empty array means no ancestor data exists.
 */
export interface AncestorDataReport {
    /** Hits found by walking up from the projectPath itself. */
    fromProjectPath: string[];
    /** Hits found by walking up from process.cwd(). */
    fromCwd: string[];
}
/**
 * Scan for ancestor `data/projects/<projectId>/` dirs above projectPath and cwd.
 * Returns deduplicated absolute paths (no double-counting when projectPath and
 * cwd share an ancestor).
 */
export declare function detectAncestorDataDirs(projectPath: string, projectId: string, cwd?: string): Promise<AncestorDataReport>;
/**
 * Build a single human-readable warning line summarizing every ancestor data
 * dir hit. Returns null when no warning is needed.
 */
export declare function buildAncestorDataWarning(report: AncestorDataReport): string | null;
//# sourceMappingURL=ancestor-data-detector.d.ts.map