import type { Lix } from "../lix/open-lix.js";
import type { VectorClock } from "./merge-state.js";
/**
 * Collects all database rows that differ from a target state.
 *
 * The returned rows can be upserted on the target to synchronise two
 * Lix instances. The current vector clock of this Lix file is also
 * returned to let the remote side calculate its own diff.
 *
 * @example
 * ```ts
 * const { upsertedRows } = await getDiffingRows({ lix, targetVectorClock })
 * ```
 */
export declare function getDiffingRows(args: {
    /**
     * the lix to merge their state into
     */
    lix: Pick<Lix, "db">;
    /**
     * the the vector clock of the lix to merge in
     */
    targetVectorClock: VectorClock;
}): Promise<{
    state: any;
    upsertedRows: Record<string, any[]>;
}>;
//# sourceMappingURL=get-diffing-rows.d.ts.map