import type { LimitCheckerConfig, StopReason } from '../types/run/index.js';
export interface LimitCheckerState {
    aborted: boolean;
    totalTokens: number;
    totalCost: number;
    currentIteration: number;
    startTime: number;
}
export type LimitCheckResult = {
    type: 'ok';
} | {
    type: 'warning';
    reason: StopReason;
} | {
    type: 'hard_stop';
    reason: StopReason;
};
export declare function checkLimitsDetailed(config: LimitCheckerConfig, state: LimitCheckerState): LimitCheckResult;
export declare function buildLimitConfig(tokenBudget: number, timeoutMs: number, costLimitUsd?: number, maxIterations?: number, budgetWarningThreshold?: number): LimitCheckerConfig;
//# sourceMappingURL=LimitChecker.d.ts.map