/** * Lightweight, deterministic detection of a repository's house style so the * remediator's worker prompts can say "match the surrounding code" with * specifics (formatter, linter, test framework, module style, and a sampled * snippet). Best-effort and side-effect-free: every probe is guarded and an * undetected field is simply omitted. Phase 7A. */ export interface RepoConventions { formatter?: string; linter?: string; test_framework?: string; module_style?: "esm" | "commonjs"; indentation?: string; quote_style?: "single" | "double"; /** A short excerpt from a representative source file. */ sample_snippet?: string; } export declare function detectRepoConventions(root: string): RepoConventions; /** Render a prompt block from detected conventions, or "" if nothing detected. */ export declare function formatRepoConventions(conventions: RepoConventions, options?: { includeSnippet?: boolean; }): string; //# sourceMappingURL=repoConventions.d.ts.map