export declare function isPromptTooLongError(error: {
    status?: number;
    message: string;
}): boolean;
export declare function isMaxOutputTokensTruncation(finishReason: string): boolean;
export declare function isMediaSizeError(error: {
    status?: number;
    message: string;
}): boolean;
export declare function parseRetryAfterMs(error: {
    status?: number;
    message: string;
    headers?: Record<string, string>;
}): number | null;
export declare function parseMaxTokensOverflow(error: {
    status?: number;
    message: string;
}): number | null;
