import type { SyncBatch } from '@magnetarjs/types';
import { Firestore, WriteBatch } from 'firebase/firestore';
export declare function createWriteBatch(db: Firestore): WriteBatch;
/**
 * A function that applies everything in the `SyncBatch` to a Firestore's `WriteBatch`.
 * It mutates the passed `batch`.
 */
export declare function applySyncBatch(writeBatch: WriteBatch, batch: SyncBatch, db: Firestore): undefined;
