import type { BaseItem, LoadResponse } from '@signaldb/core'; /** * Gets the snapshot of items from the last snapshot and the changes. * @param lastSnapshot The last snapshot of items * @param data The changes to apply to the last snapshot * @returns The new snapshot of items */ export default function getSnapshot, IdType>(lastSnapshot: ItemType[] | undefined, data: LoadResponse): ItemType[];