import type { ConversationBuilderAction, ConversationBuilderTurnBase } from './getMinSequenceDatasetRows';
export type ApplyAiUserResponseTerminalParams = {
    turnId: string | number;
    /** Side where the AI user-response was saved */
    position: 'above' | 'below';
    /** Index of the AI action in that side's list after save */
    aiActionIndex: number;
    actionsAbove: ConversationBuilderAction[];
    actionsBelow: ConversationBuilderAction[];
};
/**
 * AI user-response ends the conversation: drop actions after the AI step on this turn
 * and remove all later turns.
 */
export declare function applyAiUserResponseTerminalState<T extends ConversationBuilderTurnBase>(turns: T[], params: ApplyAiUserResponseTerminalParams): T[];
//# sourceMappingURL=applyAiUserResponseTerminalState.d.ts.map