import type { DiscussionTranscriptSegment } from './types.js'; export declare function normalizeProviderSpeakerLabel(raw: string | undefined, zh?: boolean): string | undefined; /** * Deterministic conversational turn grouping based on pause gaps (>1.4s) * and explicit self-introduction patterns ("我是李雷", "I'm Alice"), used both * as a fast baseline and fallback when no LLM is available. */ export declare function inferHeuristicSpeakerLabels(segments: DiscussionTranscriptSegment[], zh?: boolean): Map; export declare function diarizeDiscussionSegments(input: { discussionId: string; segments: DiscussionTranscriptSegment[]; hotwords?: string[]; languageHint?: string; useModel?: boolean; signal?: AbortSignal; }): Promise;