UNPKG

@redocly/theme

Version:

Shared UI components lib

15 lines (14 loc) 579 B
import type { AiSearchErrorConfig } from '../../core/types'; export declare enum AiSearchError { Unauthorized = "ai_search_unauthorized", Forbidden = "ai_search_forbidden", HttpRequestFailed = "http_request_in_failed_status", EmptyResponse = "empty_response", ErrorProcessingResponse = "error_processing_response" } export declare const enum AiSearchConversationRole { USER = "user", ASSISTANT = "assistant" } export declare const AI_SEARCH_ERROR_CONFIG: Record<AiSearchError, AiSearchErrorConfig>; export declare const SEARCH_DEBOUNCE_TIME_MS = 300;