export type AttentionLabel = 'address' | 'engage' | 'other' | 'close' | 'background'; export type AttentionScene = 'address' | 'question' | 'banter' | 'share' | 'topic' | 'close' | 'other' | 'background'; export interface ScenePrediction { label: AttentionScene; confidence: number; margin: number; } export declare function isClearScene(scene: ScenePrediction | undefined): boolean; export interface AttentionTurn { speaker: number; text: string; recipient?: number; replyTo?: number; } export interface AttentionFrame { groupScope?: string; defaultScope?: string; boundRelationship?: string; roleRevision?: string; relationshipRevision?: string; profile?: readonly string[]; partnerText?: string; dialogue?: readonly AttentionTurn[]; } export interface AttentionLink { index: number | null; confidence: number; margin: number; } export declare function recognizedLink(link: AttentionLink | undefined): boolean; export interface RecipientPrediction { label: 'partner' | 'member' | 'open'; confidence: number; margin: number; } export declare function recognizedRecipient(prediction: RecipientPrediction | undefined): 'partner' | 'member' | undefined; export interface AttentionPrediction { label: AttentionLabel; confidence: number; margin: number; learnedCall?: 'role' | 'relationship'; contextSimilarity?: number; replySimilarity?: number; profileSimilarity?: number; scene?: ScenePrediction; link?: AttentionLink; recipient?: RecipientPrediction; } /** Use the same call evidence for admission, busy queues and interjection limits. */ export declare function isAttentionCall(prediction: AttentionPrediction | undefined): boolean; export interface AttentionDiagnostic { status: 'ok' | 'empty' | 'busy' | 'backoff' | 'timeout' | 'transport' | 'http' | 'invalid' | 'unconfigured'; attempts: number; retryAfterMs?: number; } export type AttentionClassifier = (text: string, signal: AbortSignal, context?: readonly string[], report?: (diagnostic: AttentionDiagnostic) => void, frame?: AttentionFrame) => Promise; //# sourceMappingURL=attention-classifier.d.ts.map