import { IRenderable, IRenderer, ISpecification, IStackeable } from '../../api'; /** * Implementation of the 'selection' markup element. * A HTML div element is used to create a selection containing multiple 'selectionItem' elements. * Only one 'selectionItem' is visible. * The user can either click on the left or right side of the visible 'selectionItem' to select one of the two options. * If the click happened, the next 'selectionItem' will be showed. * For CSS manipulations the following classes are added: * lto-selection: the container * lto-selection-left: click to choose the left option * lto-selection-right: click to choose the right option * lto-animation-left: is set when clicking lto-selection-left * lto-animation-right: is set when clicking lto-selection-right * * @see {@link IRenderable} * @see {@link IStackeable} */ export declare class Selection implements IRenderable, IStackeable { private readonly selection; private readonly spec; private readonly numOfBlocks; private values; private isPublished; private animationDuration; constructor(message: ISpecification); /** * @inheritDoc */ render(renderer: IRenderer, isNested: boolean): HTMLElement; publish(): void; private setFinished; }