/** * CLAUDE.md generator support: stack-convention detection and optional * package availability used by the section generators. */ /** Build/test/lint commands and layout for the stack actually in the repo. */ export interface StackConventions { build: string; test: string; lint: string; srcDir: string; testDir: string; } /** True when `.monomind/capabilities.json` lists `name` as active. */ export declare function isCapabilityActive(targetDir: string, name: string): boolean; /** * The File Organization and Build & Test sections used to prescribe `/src` * and npm unconditionally, which is wrong in every non-Node repo — GH #278 * hit a Go project that got told to run `npm run build`. Reuse init's own * project detection, the same one that already labels * `.agents/shared_instructions.md` with "Stack: Go", instead of guessing. * A directory that isn't there is dropped rather than invented. */ export declare function detectStackConventions(targetDir: string): StackConventions; export interface OptionalPackageAvailability { hooks: boolean; mcp: boolean; routing: boolean; monofence: boolean; } /** Test-only: `_availabilityCache` is module-level, so tests asserting both * the resolvable and unresolvable branches must clear it between cases. */ export declare function _resetOptionalPackageCache(): void; export declare function detectOptionalPackages(): OptionalPackageAvailability; export declare function unavailNote(available: boolean): string; export declare function workerCountLabel(hooksAvailable: boolean): string; //# sourceMappingURL=claudemd-detect.d.ts.map