import { Point } from "./util/ranges";
import { Position } from "./breaks";
export declare type Mutation = {
    revert(): void;
    [key: string]: any;
};
export declare class Mutations {
    protected _entries: Mutation[];
    push(...entry: Mutation[]): void;
    revert(): void;
    commit(target?: Mutations): void;
    setProp<T>(obj: T, propName: keyof T, propValue?: any): void;
    setAttr(elem: Element, attrName: string, attrValue?: string): void;
    setStyle(elem: HTMLElement, props: {
        [name: string]: string;
    }): void;
    breaks<T extends HTMLElement>(source: T, breakPoint: Point, position?: Position): T;
    insertNode(parent: Node, newChild: Node, refChild?: Node): void;
    appendNodeContents(srcNode: Node, dstNode: Node): void;
}
export default Mutations;
