/** * CLI: guardvibe scan [path], guardvibe diff [base], guardvibe check * Also: guardvibe-scan (pre-commit hook / CI entry point) */ /** * Pre-commit / staged-files scan. Used by the `guardvibe-scan` bin AND by * `guardvibe scan --staged` (the generated pre-commit hook calls the latter). This is a * GATE: it defaults to `--fail-on critical` so a non-zero exit actually blocks the commit * — previously `scan --staged` fell through to a whole-directory scan that exited 0, * so the hook never blocked anything. */ export declare function runStagedScan(flags: Record): Promise; export declare function runScan(): Promise; export declare function runDirectoryScan(targetPath: string, flags: Record): Promise; export declare function runDiffScan(requestedBase: string | undefined, flags: Record): Promise; export declare function runFileCheck(filePath: string, flags: Record): Promise; export declare function handleScanCommand(args: string[]): Promise; export declare function handleDiffCommand(args: string[]): Promise; export declare function handleCheckCommand(args: string[]): Promise;