import { AbstractCommand } from '../AbstractCommand'; import { Document } from '../../core/models/Document'; import { NodePath } from '../../core/models/NodePath'; /** * A command used to add an Example for a 3.0 Parameter. If an example with the same name * already exists, this command does nothing. * @author laurent.broudoux@gmail.com * @extends AbstractCommand * @class */ export declare class AddParameterExampleCommand_30 extends AbstractCommand { _parentPath: NodePath; _newExampleValue: any; _newExampleName: string; _newExampleSummary: string; _newExampleDescription: string; _exampleAdded: boolean; constructor(parent?: any, example?: any, exampleName?: any, exampleSummary?: any, exampleDescription?: 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; }