import { AbstractCommand } from '../AbstractCommand';
import { Document } from '../../core/models/Document';
/**
 * A command used to create a new path item in a document.
 * @author eric.wittmann@gmail.com
 * @extends AbstractCommand
 * @class
 */
export declare class NewPathCommand extends AbstractCommand {
    _newPath: string;
    _pathExisted: boolean;
    _nullPaths: boolean;
    constructor(newPath?: 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;
}
