import type { OnyxInput, OnyxKey } from '../types'; type ApplyMergeResult = { mergedValue: TValue; }; type ApplyMerge = | undefined, TChange extends OnyxInput | null>(key: TKey, existingValue: TValue, validChanges: TChange[]) => Promise>; export type { ApplyMerge, ApplyMergeResult };