import { type AIChatConfig, type GetConversationItemsResponse } from '../../shared/ai-chat';
import { type CreateConversationRequest, type SendMessageRequest } from '../types/ai-chat';
import { type Request } from '@gravity-ui/expresskit';
export declare class AiChat {
    private config;
    constructor(config: AIChatConfig);
    createConversation(data: CreateConversationRequest, req: Request): Promise<import("axios").AxiosResponse<any, any>>;
    getConversations(limit: number | undefined, after: string | undefined, req: Request): Promise<import("axios").AxiosResponse<any, any>>;
    getConversationItems(conversationId: string, limit: number | undefined, after: string | undefined, order: 'asc' | 'desc' | undefined, req: Request, useStream?: boolean): Promise<import("axios").AxiosResponse<GetConversationItemsResponse, any>>;
    sendMessage(request: SendMessageRequest, req: Request): Promise<any>;
    deleteConversation(conversationId: string, req: Request): Promise<import("axios").AxiosResponse<any, any>>;
    summarizeConversationTitle(conversationId: string, req: Request): Promise<string>;
    private getRequestHeaders;
}
