import type { Check, CheckResult } from './types.js'; export interface CheckResultWithName extends CheckResult { name: string; } /** * Run all checks, catching any unexpected errors and surfacing them as failures. */ export declare function runChecks(checks: Check[]): Promise; /** * Format results as a human-readable table for terminal output. */ export declare function formatTable(results: CheckResultWithName[]): string; /** * Format results as machine-readable JSON. * Shape: { checks: [{name, ok, message, fix?, inconclusive?}], summary: {ok, inconclusive, fail} } * `summary.ok` counts only checks that actually verified their metric — * an `inconclusive` result (the check's own query/probe threw) is split out * separately rather than folded into `ok`, so a consumer that only reads * `summary.ok`/`summary.fail` can't mistake "we never checked" for "checked * and it's fine". */ export declare function formatJson(results: CheckResultWithName[]): string;