/** * `openlore check-edit` reads the latest watcher-produced per-edit verdict. * Hook mode is deliberately read-only: it may wait briefly for the watcher's * debounced atomic write, but it never parses code or invokes a fallback analysis. */ import { Command } from 'commander'; export interface CheckEditCliOptions { cwd?: string; file?: string; json?: boolean; hook?: boolean; /** Test seam; command callers use the bounded defaults above. */ hookPollMs?: number; /** Test seam; command callers use the bounded defaults above. */ hookPollIntervalMs?: number; } /** Resolve a hook/user path to a safe repository-relative path. */ export declare function repoRelativeFile(rootPath: string, value: unknown): string | undefined; /** Extract the edited file from a Claude-style PostToolUse stdin payload. */ export declare function fileFromHookPayload(rootPath: string, raw: string): string | undefined; export declare function runCheckEditCli(opts: CheckEditCliOptions): Promise; export declare const checkEditCommand: Command; //# sourceMappingURL=check-edit.d.ts.map