/** * CLI Design Detect Command * Thin wrapper around the bundled @monoes/monodesign anti-pattern detector * * github.com/monoes/monomind */ import type { Command } from '../types.js'; export interface DesignAntiPattern { id: string; name: string; category: string; file?: string; line?: number; } export interface DesignDetectResult { patterns: DesignAntiPattern[]; count: number; } /** * Resolve the bundled monodesign CLI entry (cli/bin/cli.js) from the * @monoes/monodesign package. Falls back to the monorepo sibling layout when * running from a source checkout without installed workspace links. */ export declare function resolveMonodesignCli(): string | null; /** * A URL scan needs a browser. #428 dropped the Chrome that puppeteer used to * download at install time, so without an installed one, fetch monomind's * own and point the detector's monobrowse driver at it. Undefined (inherit the * environment) when a browser is installed or the download is not possible; * the detector then reports what is missing itself. */ export declare function urlScanEnv(): Promise; export declare const designCommand: Command; export default designCommand; //# sourceMappingURL=design-detect.d.ts.map