/** Rule files, across harnesses. Order is the order Issue.md lists them in. */ export declare const RULE_FILENAMES: readonly ["CLAUDE.md", "AGENTS.md", "GEMINI.md", "CONVENTIONS.md", ".cursorrules", ".windsurfrules", ".rules"]; /** The operator's own rules, which apply whatever repository is open. */ export declare function globalRuleFiles(home?: string): Promise; /** * Rule files governing `projectDir`: the repository's own, any nested ones in * the subtree (a package or app inside a monorepo carries its own), and any in * ancestor directories, which is where a workspace keeps the rules its members * inherit. */ export declare function discoverRuleFiles(projectDir: string, opts?: { depth?: number; ancestors?: number; }): Promise; /** * Everything that governs work in this repository, global first, so a session * reads the operator's standing rules before the project's own. */ export declare function allRuleFiles(projectDir: string): Promise;