import type { LoadContext } from "../capability/types.js"; /** Project ancestors through an inclusive stop directory, but never home or temporary-root ceilings. */ export declare function getAncestorDirs(cwd: string, stopAt?: string | null): Array<{ dir: string; depth: number; }>; /** Skip user config roots without stopping the project walk at those directories. */ export declare function getProjectAncestorDirs(ctx: LoadContext): AsyncGenerator<{ dir: string; depth: number; }>;