import { AbstractCommand } from '../AbstractCommand';
import { Document } from '../../core/models/Document';
import { Node } from '../../core/models/Node';
import { NodePath } from '../../core/models/NodePath';
/**
 * A command used to delete a child node.
 * @author eric.wittmann@gmail.com
 * @extends AbstractCommand
 * @class
 */
export declare abstract class DeleteNodeCommand<T extends Node> extends AbstractCommand {
    _property: string;
    _parentPath: NodePath;
    _oldValue: any;
    constructor(property?: any, from?: any);
    /**
     * @see io.apicurio.datamodels.cmd.ICommand#execute(io.apicurio.datamodels.core.models.Document)
     * @param {Document} document
     */
    execute(document: Document): void;
    /**
     * @see io.apicurio.datamodels.cmd.ICommand#undo(io.apicurio.datamodels.core.models.Document)
     * @param {Document} document
     */
    undo(document: Document): void;
    abstract readNode(doc: Document, node: any): T;
}
