/** * Stack detector - derives the project's build/test/lint commands from the * files present in the project root. Used to fill the `{{BUILD_CMD}}`, * `{{TEST_CMD}}` and `{{LINT_CMD}}` placeholders of the instruction-file * templates. Pure filesystem inspection, no shell. */ export interface StackCommands { /** Detected stack label (e.g. "node", "rust"), or "unknown". */ stack: string; build?: string; test?: string; lint?: string; } /** * Detect the project's build/test/lint commands. The first matching stack * wins; Makefile targets fill any command the stack left undefined. * Commands that cannot be detected stay undefined (the merger renders a TODO). */ export declare function detectStackCommands(projectDir: string): StackCommands; //# sourceMappingURL=stack-detector.d.ts.map