import type { Lix } from "../lix/open-lix.js";
import type { VectorClock } from "./merge-state.js";
/**
 * Pushes local changes to a Lix server.
 *
 * Only rows unknown to the server are transmitted based on the provided
 * vector clock. An error is thrown when the server responds with a non
 * successful status.
 *
 * @example
 * ```ts
 * await pushToServer({ id, serverUrl, lix, targetVectorClock })
 * ```
 */
export declare function pushToServer(args: {
    id: string;
    serverUrl: string;
    lix: Pick<Lix, "db">;
    targetVectorClock: VectorClock;
}): Promise<void>;
//# sourceMappingURL=push-to-server.d.ts.map