import type { LoadContext } from "../capability/types"; /** * Project-level paths: walk up from cwd to repoRoot, returning `.agent/` * and `.agents/` at each ancestor. * * The user home directory is skipped: `~/.agent[s]/` is by definition * user-level config and is already enumerated by {@link getUserPathCandidates}. * Without this guard, any cwd under `$HOME` (with no closer git repoRoot) would * walk up to home and yield duplicate project+user entries for the same * directory — see https://github.com/can1357/oh-my-pi/issues/1116. */ export declare function getProjectPathCandidates(ctx: LoadContext, ...segments: string[]): string[];