import type { LocalStore } from './localStore.js'; /** * Merges the collected anonymous-replica payloads into `store` (the already * open connected replica) under the per-uuid LWW policy above. Runs before the * first `hydrateAll`/sync start, so adopted rows enter the entity stores via * normal hydration and reach the server as ordinary creates on first push. * * The rows are written through `LocalStore` directly, which does not stamp; * the preserve-if-present / fill-if-missing repair below is deliberate and * differs from the entity-store write verbs' fresh-stamp-always rule, because * an adopted edit must keep the instant it was actually made. * * @param options {object} * @param options.store {LocalStore} the open connected replica * @param options.entities {Record>} decrypted * payloads per collection key, as collected from the anonymous replica * @returns {Promise} */ export declare function mergeAdopted({ store, entities }: { store: LocalStore; entities: Record>; }): Promise; //# sourceMappingURL=adopt.d.ts.map