import { Status, Change } from "./types"; import { Process } from "../common/process"; export { Process as FirestoreOnWriteProcess } from "../common/process"; export declare class FirestoreOnWriteProcessor { statusField: string; processes: Process[]; orderField: string; errorFn?: (e: unknown) => Promise; constructor(options: { processes: Process[]; statusField?: string; orderField?: string; errorFn?: (e: unknown) => Promise; }); private writeStartEvent; private writeCompletionEvent; getStatusMap(change: Change): Promise>; run(change: Change): Promise; }