import { Utterance } from '../chatCompletionClients/chatCompletionClient';
interface Reason {
    type: 'fail' | 'pass';
    description: string;
}
export interface ShouldEndConversationEndedResult {
    hasEnded: true;
    reason: Reason;
}
export interface ShouldEndConversationNotEndedResult {
    hasEnded: false;
}
export type ShouldEndConversationResult = ShouldEndConversationEndedResult | ShouldEndConversationNotEndedResult;
export declare function shouldEndConversation(utterances: Utterance[], failPhrases: string[], passPhrases: string[]): ShouldEndConversationResult;
export {};
