/** * Defines the contract for a merge service. * * Any service implementing this interface is expected to: * - Transfer all references from one account to another. * - Ensure that all account ID fields are updated. */ export interface MergeServiceClass { /** * Merge all references from the old account into the new account. * * @param {string} oldAccountId - The identifier of the account being replaced. * @param {string} newAccountId - The identifier of the account that should own all references. * @returns {Promise} Resolves when the merge operation is complete. */ mergeAccount(oldAccountId: string, newAccountId: string): Promise; }