export interface ContextTransferConfig { maxContextLength?: number; defaultSummaryLength?: number; includeMetadata?: boolean; preserveFormatting?: boolean; smartTruncation?: boolean; contextCompression?: boolean; } export interface TransferOptions { lastN?: number; includeSummary?: boolean; summaryType?: 'concise' | 'detailed' | 'structured'; smartExtraction?: boolean; outputFormat?: 'txt' | 'json' | 'markdown'; includeMetadata?: boolean; includeCodeContext?: boolean; includeReasoning?: boolean; includeSafety?: boolean; includeCreativity?: boolean; includeExamples?: boolean; includeStepByStep?: boolean; includeMultimodal?: boolean; includeWebSearch?: boolean; } export interface ModelCapabilities { name: string; supportedFormats: string[]; maxContextLength: number; supportsCode: boolean; supportsImages: boolean; supportsTools: boolean; } export interface TransferResult { success: boolean; formattedPrompt?: string; metadata?: { sourceModel: string; targetModel: string; summaryType: string; smartExtraction: boolean; messagesProcessed: number; messagesExtracted: number; promptLength: number; createdAt: string; outputFormat: string; modelCapabilities?: { source: ModelCapabilities; target: ModelCapabilities; }; transferIndex?: number; }; error?: string; errorType?: string; } export interface ConversationMessage { role: 'user' | 'assistant' | 'system'; content: string; } export interface ValidationResult { success: boolean; valid: boolean; analysis?: { totalMessages: number; userMessages: number; assistantMessages: number; systemMessages: number; unknownMessages: number; averageMessageLength: number; hasSystemContext: boolean; }; recommendations?: string[]; error?: string; errorType?: string; } export declare class ContextTransferManager { private supportedModels; private config; constructor(config?: ContextTransferConfig); extractContext(messages: ConversationMessage[], lastN?: number, smartExtraction?: boolean): Promise; private smartExtractContext; private isImportantContext; summarizeContext(messages: ConversationMessage[], summaryType?: string): Promise; private createConciseSummary; private createDetailedSummary; private createStructuredSummary; loadConversationFromFile(filePath: string, formatType?: string): Promise; private detectFileFormat; private loadJsonConversation; private loadTextConversation; private loadMarkdownConversation; saveFormattedPrompt(content: string, outputFile: string, formatType?: string): Promise; private saveTextPrompt; private saveJsonPrompt; private saveMarkdownPrompt; transferContext(fromModel: string, toModel: string, inputFile: string, outputFile: string, lastN?: number, includeSummary?: boolean, summaryType?: string, smartExtraction?: boolean, outputFormat?: string, options?: Record): Promise; formatForTargetModel(targetModel: string, summary: string, sourceModel: string, options?: Record): Promise; private getAdapter; private formatGeneric; getSupportedModels(): string[]; getModelInfo(modelName: string): Promise; listAllModels(): Promise>; } export declare class ContextTransferAPI { private manager; private supportedFormats; private supportedModels; constructor(); transferContextAPI(sourceModel: string, targetModel: string, conversationData: string | ConversationMessage[] | Record, options?: TransferOptions): Promise; private processConversationData; getSupportedModels(): Promise>; getModelCapabilities(modelName: string): Promise>; validateConversationFormat(data: string | ConversationMessage[] | Record): Promise; private generateRecommendations; batchTransfer(transfers: Array<{ sourceModel: string; targetModel: string; conversationData: string | ConversationMessage[] | Record; options?: TransferOptions; }>): Promise>; createChromeExtensionConfig(): Record; } export declare function quickTransfer(sourceModel: string, targetModel: string, conversationData: string | ConversationMessage[] | Record, options?: Record): Promise; export declare function getAllModels(): Promise>; export declare function validateConversation(data: string | ConversationMessage[] | Record): Promise; //# sourceMappingURL=contextTransfer.d.ts.map