import type { GConstructor, EntityServerClientBase } from "../../../client/base.js"; export declare function LlmMixin>(Base: TBase): { new (...args: any[]): { /** LLM 채팅 응답을 반환합니다. */ llmChat(body: Record): Promise; /** LLM 채팅 스트림 응답을 반환합니다. */ llmChatStream(body: Record): Promise; /** 대화 세션을 생성합니다. */ createLlmConversation(body: Record): Promise; /** 대화 세션에 메시지를 전송합니다. */ sendLlmMessage(seq: number, body: Record): Promise; /** 대화 세션 목록을 조회합니다. */ listLlmConversations(query?: Record): Promise; /** 대화 세션 상세를 조회합니다. */ getLlmConversation(seq: number): Promise; /** 대화 세션을 수정합니다. */ updateLlmConversation(seq: number, body: Record): Promise; /** 대화 세션을 삭제합니다. */ deleteLlmConversation(seq: number): Promise; /** RAG 문서를 업로드합니다. */ ragUploadDocument(form: FormData): Promise; /** RAG 문서 목록을 조회합니다. */ ragListDocuments(query?: Record): Promise; /** RAG 문서를 삭제합니다. */ ragDeleteDocument(id: string): Promise; /** RAG 검색을 수행합니다. */ ragSearch(body: Record): Promise; /** RAG 기반 채팅 응답을 반환합니다. */ ragChat(body: Record): Promise; /** RAG 기반 채팅 스트림 응답을 반환합니다. */ ragChatStream(body: Record): Promise; /** RAG 인덱스를 재구축합니다. */ ragRebuildIndex(body?: Record): Promise; /** LLM 프로바이더 목록을 조회합니다. */ listLlmProviders(): Promise; /** LLM 사용량을 조회합니다. */ getLlmUsage(query?: Record): Promise; /** LLM 사용량 요약을 조회합니다. */ getLlmUsageSummary(query?: Record): Promise; /** LLM 캐시 통계를 조회합니다. */ getLlmCacheStats(): Promise; /** LLM 캐시를 초기화합니다. */ clearLlmCache(): Promise; /** 프롬프트 템플릿 목록을 조회합니다. */ listLlmTemplates(): Promise; /** 템플릿 기반 채팅 응답을 반환합니다. */ llmTemplateChat(name: string, body: Record): Promise; /** 템플릿 기반 채팅 스트림 응답을 반환합니다. */ llmTemplateChatStream(name: string, body: Record): Promise; /** 챗봇 목록을 조회합니다. */ listLlmChatbots(query?: Record): Promise; /** 챗봇을 생성합니다. */ createLlmChatbot(body: Record): Promise; /** 챗봇 상세를 조회합니다. */ getLlmChatbot(seq: number): Promise; /** 챗봇을 수정합니다. */ updateLlmChatbot(seq: number, body: Record): Promise; /** 챗봇을 삭제합니다. */ deleteLlmChatbot(seq: number): Promise; /** 챗봇과 채팅합니다. */ llmChatbotChat(seq: number, body: Record): Promise; /** 챗봇과 채팅 스트림 응답을 반환합니다. */ llmChatbotChatStream(seq: number, body: Record): Promise; /** 챗봇 세션 목록을 조회합니다. */ listLlmChatbotSessions(seq: number, query?: Record): Promise; /** 챗봇 세션을 삭제합니다. */ deleteLlmChatbotSession(seq: number, sessionSeq: number): Promise; /** 프로필 메모리 목록을 조회합니다. */ listLlmProfiles(query?: Record): Promise; /** 프로필 메모리를 upsert합니다. */ upsertLlmProfile(body: Record): Promise; /** 프로필 메모리를 삭제합니다. */ deleteLlmProfile(seq: number): Promise; baseUrl: string; token: string; anonymousPacketToken: string; apiKey: string; hmacSecret: string; encryptRequests: boolean; debugPlainSecret: string; csrfEnabled: boolean; csrfHeaderName: string; csrfCookieName: string; csrfRefresher: (() => Promise) | null; requestAbortControllers: Map; activeTxId: string | null; initialHealthFired: boolean; keepSession: boolean; refreshBuffer: number; onTokenRefreshed?: (accessToken: string, expiresIn: number) => void; onSessionExpired?: (error: Error) => void; onHealthChange?: (online: boolean) => void; sessionRefreshToken: string | null; refreshTimer: ReturnType | null; healthTickTimer: ReturnType | null; healthTickPromise: Promise | null; realtimeEnabled: boolean; realtimePath: string; realtimeAutoReconnect: boolean; realtimeReconnectDelayMs: number; realtimeStatus: import("../../../types.js").RealtimeConnectionStatus; realtimeSocket: WebSocket | null; realtimeConnectPromise: Promise | null; realtimeReconnectTimer: ReturnType | null; realtimeShouldReconnect: boolean; realtimeMessageListeners: Set; realtimeStatusListeners: Set; realtimeEventListeners: Map>; configure(options: Partial): void; fireInitialHealth(): void; setToken(token: string): void; setAccessTokenFromResponse(token: string): void; syncRealtimeWithToken(): void; setAnonymousPacketToken(token: string): void; setApiKey(apiKey: string): void; setHmacSecret(secret: string): void; setEncryptRequests(value: boolean): void; setCsrfEnabled(enabled: boolean): void; addRealtimeListener(listener: import("../../../types.js").RealtimeMessageListener): void; removeRealtimeListener(listener: import("../../../types.js").RealtimeMessageListener): void; addRealtimeStatusListener(listener: import("../../../types.js").RealtimeStatusListener): void; removeRealtimeStatusListener(listener: import("../../../types.js").RealtimeStatusListener): void; addRealtimeEventListener(eventName: string, listener: import("../../../types.js").RealtimeMessageListener): void; removeRealtimeEventListener(eventName: string, listener: import("../../../types.js").RealtimeMessageListener): void; connectRealtime(): Promise; disconnectRealtime(reason?: string): void; sendRealtime(message: import("../../../types.js").RealtimeEnvelope | Record): boolean; subscribeRealtime(subscriptions: string[]): boolean; unsubscribeRealtime(subscriptions: string[]): boolean; startHealthTick(intervalMs?: number, runImmediately?: boolean): void; stopHealthTick(): void; scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{ access_token: string; expires_in: number; }>): void; clearRefreshTimer(): void; stopKeepSession(): void; applyRealtimeOptions(options?: boolean | import("../../../types.js").RealtimeClientOptions): void; buildRealtimeUrl(): string; handleRealtimeMessage(payload: unknown): void; scheduleRealtimeReconnect(reason: string): void; clearRealtimeReconnectTimer(): void; setRealtimeStatus(status: import("../../../types.js").RealtimeConnectionStatus, reason?: string, error?: Error): void; applyCsrfHealth(): void; readRequestBody>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T; get reqOpts(): import("../../../client/request.js").RequestOptions; prepareRequest(_withAuth: boolean): Promise; get http(): { get(path: string, withAuth?: boolean, extraHeaders?: Record, requestConfig?: import("../../../client/request.js").EntityRequestConfig): Promise; post(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record, requestConfig?: import("../../../client/request.js").EntityRequestConfig): Promise; put(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record, requestConfig?: import("../../../client/request.js").EntityRequestConfig): Promise; patch(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record, requestConfig?: import("../../../client/request.js").EntityRequestConfig): Promise; delete(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record, requestConfig?: import("../../../client/request.js").EntityRequestConfig): Promise; }; request(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record, requestConfig?: import("../../../client/request.js").EntityRequestConfig): Promise; requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise; requestForm(method: string, path: string, form: FormData, withAuth?: boolean, onUploadProgress?: (loaded: number, total: number) => void): Promise; requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise; }; } & TBase;