import type { AgentLoopResult } from '../../../../../core/runtime/loop/index.js';
import type { TraceEvent } from '../../../../../core/types.js';
import type { AppendTurnMemoryMaintenanceEventsArgs, RunInlineTurnMemoryMaintenanceArgs, ScheduleBackgroundTurnMemoryMaintenanceArgs } from './types.js';
/**
 * Runs and records memory maintenance associated with a completed turn.
 */
export declare class ConversationTurnMemoryMaintenance {
    static runInline(args: RunInlineTurnMemoryMaintenanceArgs): Promise<AgentLoopResult>;
    static scheduleBackground(args: ScheduleBackgroundTurnMemoryMaintenanceArgs): void;
    static runBackground(args: ScheduleBackgroundTurnMemoryMaintenanceArgs): Promise<void>;
    static appendEvents(args: AppendTurnMemoryMaintenanceEventsArgs): void;
    static appendAgentLoopTrace(result: AgentLoopResult, events: TraceEvent[]): AgentLoopResult;
    private static readTraceEvents;
    private static createFailureEvent;
    private static nextTraceStep;
}
//# sourceMappingURL=turn-memory-maintenance.d.ts.map