import { IFullUser } from 'src/modules/users/users.interface';
import { ChatHistory } from '../chat-history.model';
import mongoose, { Model } from 'mongoose';
import { CreateConversationDto } from '../chat-history.validation';
import { IFile } from 'src/common/interface/file.interface';
import { ChatGptTextService } from 'src/shared/third-party/services/chat-gpt/services/chat-gpt-text.service';
import { CompanyAnalyticsService } from 'src/modules/company-analytics/company-analytics.service';
import { UserAnalyticsService } from 'src/modules/user-analytics/user-analytics.service';
import { ChatGptService } from 'src/shared/third-party/services/chat-gpt/chat-gpt.service';
import { SubscriptionsService } from 'src/modules/subscriptions/subscriptions.service';
import { IDataToReturn } from 'src/shared/language/language.interface';
import { LanguageService } from 'src/shared/language/language.service';
import { StorageService } from 'src/modules/storage/storage.service';
import { ClaudeService } from 'src/shared/third-party/services/claude/claude.service';
import { SocketGuardsGateway } from 'src/shared/socket-guards/services/socket-guards.gateway';
import { ChatFilterService } from 'src/shared/chat-guards/chat-filter/chat-filter.service';
import { GeminiService } from 'src/shared/third-party/services/gemini/gemini.service';
import { AiModelsService } from '../../app-config/ai-models/ai-models.service';
import { OpenRouterService } from 'src/shared/third-party/services/openrouter/openrouter.service';
import { AITextOrchestratorService } from 'src/shared/ai-orchestration/services/ai-text-orchestrator.service';
import { IStreamResponseObject } from '../interfaces/stream-response.interface';
export declare class FileHandlerStreamService {
    private readonly chatHistoryModel;
    private readonly connection;
    private readonly chatGptTextService;
    private readonly companyAnalyticsService;
    private readonly userAnalyticsService;
    private readonly chatGptService;
    private readonly claudeService;
    private readonly geminiService;
    private readonly subscriptionService;
    private readonly languageService;
    private readonly storageService;
    private readonly socketGateway;
    private readonly chatFilterService;
    private readonly aiModelsService;
    private readonly openRouterService;
    private readonly aiTextOrchestratorService;
    private readonly logger;
    constructor(chatHistoryModel: Model<ChatHistory>, connection: mongoose.Connection, chatGptTextService: ChatGptTextService, companyAnalyticsService: CompanyAnalyticsService, userAnalyticsService: UserAnalyticsService, chatGptService: ChatGptService, claudeService: ClaudeService, geminiService: GeminiService, subscriptionService: SubscriptionsService, languageService: LanguageService, storageService: StorageService, socketGateway: SocketGuardsGateway, chatFilterService: ChatFilterService, aiModelsService: AiModelsService, openRouterService: OpenRouterService, aiTextOrchestratorService: AITextOrchestratorService);
    private readFileAndGenerateTextMessage;
    private downloadFile;
    extractFileContent(file: IFile): Promise<string>;
    private readDocx;
    private readXlsx;
    private readPptx;
    private readPdf;
    private readImageAsStram;
    private readPlainTextFile;
    private getImageDescriptionAsStram;
    private adaptStreamFormat;
    private summarizeText;
    generateFileResponseStream(createChatDto: CreateConversationDto, language_modification: IDataToReturn, user: IFullUser, regenerateMessageId?: string, isRegenerate?: boolean, skipBlockedReasons?: string[], conversationMessages?: any[]): Promise<IStreamResponseObject>;
    private convertFileStreamToStandardFormat;
}
