import { Document } from '../../core/models/Document'; import { NodePath } from '../../core/models/NodePath'; import { AbstractSchemaInhCommand } from './AbstractSchemaInhCommand'; /** * A command used to add a child schema to the * @author eric.wittmann@gmail.com * @extends AbstractSchemaInhCommand * @class */ export declare class AddChildSchemaCommand extends AbstractSchemaInhCommand { _schemaPath: NodePath; _newChildSchemaType: string; _newChildSchemaObj: any; _nullChildList: boolean; _childIndex: number; constructor(schema?: any, childSchema?: any, childType?: 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; }