import { Message } from "../llm/base";
export declare function getNewlyTrimmedMessages(fullMessageHistory: Message[], currentContext: Message[], lastMemoryIndex: number): [Message[], number];
/**
 * This function takes a list of dictionaries representing new events and combines them with the current summary,
 * focusing on key and potentially important information to remember. The updated summary is returned in a message
 * formatted in the 1st person past tense.
 *
 * @param {string} currentMemory - The current summary of actions.
 * @param {Array<Record<string, any>>} newEvents - A list of dictionaries containing the latest events to be added to the summary.
 *
 * @returns {string} - A message containing the updated summary of actions, formatted in the 1st person past tense.
 *
 * @example
 * const newEvents = [
 *   {"event": "entered the kitchen."},
 *   {"event": "found a scrawled note with the number 7"}
 * ];
 * const currentMemory = "I cooked dinner and ate it.";
 * update_running_summary(currentMemory, newEvents);
 * // Returns: "This reminds you of these events from your past:
 * // I entered the kitchen and found a scrawled note saying 7."
 */
export declare function updateRunningSummary(currentMemory: string, newEvents: Record<string, any>[]): Promise<string>;
