/** * Detect which agent surfaces are present in a project tree. * * We walk up from `cwd` checking up to 3 parent directories for marker files. * The first directory that has any marker becomes the "project root" for that * surface. `agents-md` is the universal fallback and is always included. */ export type AgentName = 'claude-code' | 'cursor' | 'cline' | 'continue' | 'agents-md'; export declare const ALL_AGENTS: AgentName[]; export interface DetectedSurface { agent: AgentName; /** Absolute path to the directory we will treat as the project root. */ root: string; /** Which marker(s) triggered detection (for the dry-run summary). */ markers: string[]; } /** * Detect surfaces by walking up from `startDir` up to PARENTS_TO_CHECK levels. * Each surface is reported at most once, anchored at the deepest dir where its * marker was found. `agents-md` is always appended last as a universal fallback. */ export declare function detect(startDir: string): Promise; //# sourceMappingURL=detect.d.ts.map