import { Operation } from "slate";
import { ReactEditor } from "slate-react";
import { DevtoolsEditor } from "../plugins/withDevtools";
import { DTOperation } from "./DTOperation";
import { HistoryEditor } from "./historyEditor";
export declare type BatchOptions = {
    normalizing?: boolean;
    location?: "Devtools" | "App";
};
export declare class Batch {
    readonly normalizing: boolean;
    readonly ops: DTOperation<Operation>[];
    readonly id: string;
    readonly location: "Devtools" | "App";
    constructor(ops: DTOperation<Operation>[], options?: BatchOptions);
    static addOperationsToBatches(current: Batch[], value: {
        op: Operation;
        normalizing: boolean;
    }[]): Batch[];
    static inverseOperations(current: Batch[]): DTOperation<Operation>[];
    static applyOperations(current: Batch[], editor: (ReactEditor & DevtoolsEditor) | (ReactEditor & HistoryEditor)): void;
}
//# sourceMappingURL=batch.d.ts.map