import { DBEntity, Change, CollectionChanges } from './types.js'; /** * Apply changes and deletions from the outbox to a primary entity * * @param primary - the entity from the primary store * @param hasDelete - whether the primary entity has been deleted * @param update - the update from the outbox * @returns */ export declare function applyOverlay(primary: DBEntity | undefined, hasDelete: boolean, update: Change | undefined): DBEntity | undefined; export declare function overlayChangesOnCollection(entities: AsyncIterable, changes: CollectionChanges | undefined): AsyncIterable;