/**
 * Enumeration of error codes for Server-Sent Events (SSE) related to generated answers.
 */
export declare enum GeneratedAnswerSseErrorCode {
    SseMaxDurationExceeded = 1000,
    SseFollowUpNotSupported = 1001,
    ConversationNotFound = 1002,
    SseModelsNotAvailable = 1003,
    SseInternalError = 1004
}
/**
 * Maps backend error codes to frontend error codes for generated answer SSE errors.
 */
export declare function mapRunErrorCode(code?: string): GeneratedAnswerSseErrorCode;
