import type { DataStore } from '../../types/data-store.js';
import type { EventLog } from '../../types/event-log.js';
import type { MessageStore } from '../../types/message-store.js';
import type { TimestampedMessage } from '../../types/message-types.js';
/**
 * Deletes all messages in `existingMessages` that are older than the `comparedToMessage` in the given tenant,
 * but keep the initial write write for future processing by ensuring its `isLatestBaseState` index is "false".
 */
export declare function deleteAllOlderMessagesButKeepInitialWrite(tenant: string, existingMessages: TimestampedMessage[], comparedToMessage: TimestampedMessage, messageStore: MessageStore, dataStore: DataStore, eventLog: EventLog): Promise<void>;
//# sourceMappingURL=records-interface.d.ts.map