import { Message, HistoryEntry } from '../types'; import { UnifiedHistoryManager } from '../history/unified-history-manager'; import { Logger } from '../utils/logger'; /** * Filters an array of message objects for sending to the API. */ export declare function filterHistoryForApi(messages: Message[]): Message[]; /** * Prepares the list of messages to be sent to the API. */ export declare function prepareMessagesForApi(params: { user?: string; group?: string | null; prompt: string; systemPrompt?: string | null; customMessages?: Message[] | null; _loadedHistoryEntries?: HistoryEntry[]; getHistoryKeyFn: (user: string, group?: string | null) => string; }, historyManager: UnifiedHistoryManager, logger: Logger): Promise; export {};