import { Repository } from 'typeorm';
import { ActionHandler } from './action-handler.interface';
import { ActionExecutionResult, PlanExecutionContext } from '../llm-orchestration.interfaces';
import { SessionInputsService } from '../../session-inputs/session-inputs.service';
import { SessionInput } from '../../core-entities';
import { HistoryCompressionService } from '../history-compression.service';
export declare class DiscardMessagesHandler implements ActionHandler {
    private readonly sessionInputsService;
    private readonly sessionInputsRepository;
    private readonly historyCompressionService;
    readonly toolName = "discard_messages";
    constructor(sessionInputsService: SessionInputsService, sessionInputsRepository: Repository<SessionInput>, historyCompressionService: HistoryCompressionService);
    getMetadata(): {
        name: string;
        description: string;
        arguments: {
            name: string;
            type: "string";
            description: string;
            required: boolean;
        }[];
    };
    getDefinition(): string;
    private estimateTokens;
    execute(args: Record<string, any>, context: PlanExecutionContext): Promise<ActionExecutionResult>;
}
