import { AbstractCommand } from '../AbstractCommand';
import { Document } from '../../core/models/Document';
import { NodePath } from '../../core/models/NodePath';
/**
 * Command that sets an extension.
 * @author eric.wittmann@gmail.com
 * @extends AbstractCommand
 * @class
 */
export declare class SetExtensionCommand extends AbstractCommand {
    _parentPath: NodePath;
    _name: string;
    _value: any;
    _hasOldValue: boolean;
    _oldValue: any;
    constructor(parent?: any, name?: any, value?: 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;
}
