import type { AgentEndEvent } from "../../types.ts";
export declare function didTerminalPolicyRejectionEndTurn(event: AgentEndEvent): boolean;
export interface TerminalProviderAuthFailure {
    readonly httpStatus: 401 | 403;
    readonly provider: string;
    readonly model: string;
}
/**
 * A 401/403 that still ends the turn after every retry owner declined (#2293).
 * The credential pool already failed over or refreshed what it could, so the
 * same request is rejected again on every continuation.
 */
export declare function terminalProviderAuthFailure(event: AgentEndEvent): TerminalProviderAuthFailure | undefined;
export declare function didTerminalProviderErrorEndTurn(event: AgentEndEvent): boolean;
//# sourceMappingURL=terminal-provider-error.d.ts.map