// #region Imports
import { ElementController } from '../../../Controllers/Abstracts/ElementController';
/**
 * Represents a controller for a wizard element.
 *
 * @public
 */
export class WizardController extends ElementController {
    // #region Ctor
    /**
     * Constructs a new instance of the `WizardController` class.
     *
     * @public
     */
    constructor(host, config) {
        super(host, config);
    }
    // #endregion
    // #region Methods
    /**
     * Maps the element to a facade.
     *
     * @protected
     * @override
     * @param element - The element to map.
     * @returns The facade.
     */
    map(element) {
        return {
            name: element.name,
            select: (index) => element.select(index),
            selectPrevious: () => element.selectPrevious(),
            selectNext: () => element.selectNext()
        };
    }
}
//# sourceMappingURL=WizardController.js.map