import { Control } from '../../src/controls/Control'; import { ControlInput } from '../../src/controls/ControlInput'; import { ControlManager } from '../../src/controls/ControlManager'; import { ControlResultBuilder } from '../../src/controls/ControlResult'; import { DynamicContainerControl, DynamicControlSpecification } from '../../src/controls/DynamicContainerControl'; export declare class VariableControlsManager extends ControlManager { createControlTree(): Control; } /** * A custom container control that initially has no children. As the skill * session progresses it adds one and then another child. * * The only information that needs to be tracked to recreate the controls is * their id, hence the call to `addDynamicChild(specification = { id: 'firstName' })`. * * It is in createDynamicChild that the dynamic controls are actually created. */ export declare class MyMultiControl extends DynamicContainerControl { /** * a flag to help with prompt specialization. Note: this is not tracked in * state as it does not need to persist between turns */ wasTheFirstNameCapturedThisTurn: boolean; canHandle(input: ControlInput): Promise; handle(input: ControlInput, resultBuilder: ControlResultBuilder): Promise; createDynamicChild(spec: DynamicControlSpecification): Control; makeFirstNameControl(): Control; makeLastNameControl(): Control; } //# sourceMappingURL=DynamicContainerControl.spec.d.ts.map