import { type HealthResult } from "./contract.js";
import type { DeterministicHealthOptions } from "./deterministic.js";
import { type HealthWriteResult } from "./storage.js";
/** Optional agentic response supplied by the current harness. */
export interface PersistedHealthAgenticOptions {
    readonly enabled: boolean;
    readonly response?: unknown;
    readonly timeoutMs?: number;
}
/** Deterministic controls plus one optional hostile response envelope. */
export interface PersistedHealthOptions extends DeterministicHealthOptions {
    readonly agentic?: PersistedHealthAgenticOptions;
}
/** Final stored result and the exact bytes consumers must emit. */
export interface PersistedHealthRun {
    readonly writeOutcome: HealthWriteResult;
    readonly result: HealthResult;
    readonly serialized: string;
}
/**
 * Re-run composition against current facts and persist exactly its final result.
 * Missing, malformed, unavailable, or stale responses degrade deterministically.
 * @param projectPath - Project to inspect and persist
 * @param options - Deterministic controls and optional harness response
 * @returns Stored result, storage outcome, and exact canonical result bytes
 */
export declare function runPersistedHealth(projectPath: string, options?: PersistedHealthOptions): Promise<PersistedHealthRun>;
//# sourceMappingURL=consumer.d.ts.map