import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; import { NodePath } from '../../core/models/NodePath'; import { OasSchema } from '../../openapi/models/OasSchema'; /** * A command used to delete all properties from a schema. * @author eric.wittmann@gmail.com * @extends AbstractCommand * @class */ export declare class DeleteAllPropertiesCommand extends AbstractCommand { _schemaPath: NodePath; _oldProperties: Array; constructor(schema?: 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; /** * Returns true if the property is required. * @param {OasSchema} schema * @param {string} propertyName * @return {boolean} * @private */ isPropertyRequired(schema: OasSchema, propertyName: string): boolean; }