import type { GoalState } from "../domain/types.js"; export interface HostRetryStatus { type?: string; action?: { reason?: string; provider?: string; title?: string; message?: string; label?: string; link?: string; }; } export interface HostSessionError { name?: string; data?: { providerID?: string; message?: string; statusCode?: number; isRetryable?: boolean; }; } export declare function isProviderPromptOverflowError(value: unknown): boolean; export declare function providerPromptOverflowReason(value: unknown, goal?: Pick): string | undefined; export declare function hostUsageLimitReason(status: HostRetryStatus): string | undefined; export declare function markUsageLimited(goal: GoalState, reason: string, now?: number): GoalState; export declare function markPromptOverflowRecovering(goal: GoalState, reason: string, now?: number): GoalState; export declare function fatalProviderReason(error: HostSessionError): string | undefined; export declare function pauseForFatalProviderError(goal: GoalState, reason: string, now?: number): GoalState; //# sourceMappingURL=limits.d.ts.map