import type { PresetSpeakerInput } from '../../contracts/memory'; import type { LivingMemoryTransaction } from './types'; export interface PresetSpeakerIdentity { presetId: string; speakerKey: string; speakerLabel: string; speakerId: string; platform: string; } /** * 归一化并校验稳定身份。缺少任一必要字段时返回 `null`,由调用方据此完全跳过 * 协调,避免为无效输入开启事务。 */ export declare const resolvePresetSpeakerIdentity: (input: PresetSpeakerInput) => PresetSpeakerIdentity | null; export declare const reconcilePresetSpeaker: (database: LivingMemoryTransaction, identity: PresetSpeakerIdentity) => Promise;