import type { PdcaLivenessConfig, PdcaProbeResult, PdcaCheckReport, PdcaCheckOutput, PdcaFailureTask, PdcaTaskAdapter, PdcaCheckRunnerOptions } from './pdca-check-types.js'; /** * Check that a log file was modified within `window` and contains `keyword`. * Window format: 24h / 1h / 30m / 7d etc. */ export declare function checkLogRecent(file: string, keyword: string, window: string): Promise<{ passed: boolean; output: string; }>; /** * Execute a SQL query against a SQLite database and verify result >= minValue. */ export declare function checkSqlite(db: string, query: string, minValue: number, execCommand?: PdcaCheckRunnerOptions['execCommand']): Promise<{ passed: boolean; output: string; }>; /** * Verify an npm package is published with version >= minVersion. */ export declare function checkNpmVersion(packageName: string, minVersion: string, execCommand?: PdcaCheckRunnerOptions['execCommand']): Promise<{ passed: boolean; output: string; }>; /** * Verify a file exists and is non-empty. */ export declare function checkFileExists(filePath: string): Promise<{ passed: boolean; output: string; }>; /** * Verify a hook is registered and enabled in openclaw.json. */ export declare function checkHookRegistered(hookName: string, configPath?: string): Promise<{ passed: boolean; output: string; }>; /** * PDCA Check Runner — reads a liveness config, executes probes, * generates a report, and optionally creates tasks for P0 failures. */ export declare class PdcaCheckRunner { private config; private readonly now; private readonly execCommand; private readonly openclawConfigPath; private readonly llmProbe; constructor(options?: PdcaCheckRunnerOptions); /** AC-20.1 / AC-20.6: Load config from a JSON file. */ loadConfig(configPath: string): Promise; /** AC-20.2 / AC-20.5: Execute all probes and collect results. */ runProbes(projectFilter?: string): Promise; /** AC-20.2: Generate a markdown report from probe results. */ generateReport(results: PdcaProbeResult[]): PdcaCheckReport; /** AC-20.2: Render report as markdown string. */ renderMarkdown(report: PdcaCheckReport): string; /** AC-20.4: Create tasks for P0 failures via adapter. */ createTasksForFailures(report: PdcaCheckReport, adapter?: PdcaTaskAdapter): Promise; /** AC-20.3 / AC-20.6: Full run — load, probe, report, create tasks. */ run(configPath: string, options?: { projectFilter?: string; taskAdapter?: PdcaTaskAdapter; }): Promise; private executeProbe; /** * AC-20.7: Execute an LLM-based semantic quality probe. * Returns INCONCLUSIVE when confidence < threshold (default 0.7). */ private executeLlmProbe; private tryBuiltinProbe; private executeShellProbe; } //# sourceMappingURL=pdca-check-stage.d.ts.map