import type { RunPersistence } from '../../manager/run/persistence.js';
import type { StopReason } from '../../types/run/index.js';
export interface GuardConfig {
    tokenBudget: number;
    timeoutMs: number;
    costLimitUsd?: number;
    maxIterations?: number;
}
export interface GuardCheckResult {
    shouldStop: boolean;
    forceFinalize: boolean;
    stopReason?: StopReason;
    isCancelled: boolean;
}
export declare class GuardCoordinator {
    private limitConfig;
    private startTime;
    constructor(config: GuardConfig);
    beforeIteration(runMgr: RunPersistence, abortSignal: AbortSignal): GuardCheckResult;
}
//# sourceMappingURL=guard.d.ts.map