import { IRenderable, IRenderer, ISpecification, IStackeable } from '../../api'; /** * Implementation of the 'carousel' markup element. * A HTML div element which can contain several 'form' or 'block' elements. * The user can switch between cells by clicking the next or previous button. * For CSS manipulations the following classes are added: * lto-carousel: the container * lto-carousel-cell-container: container for all carousel cell items * lto-carousel-cell: the container where a single markup element is wrapped * lto-next: selects the next carousel cell * lto-previous: selects the previous carousel cell * * @see {@link IRenderable} * @see {@link IStackeable} */ export declare class Carousel implements IRenderable, IStackeable { spec: ISpecification; private readonly cellContainer; private readonly carousel; constructor(message: ISpecification); /** * @inheritDoc */ render(renderer: IRenderer, isNested: boolean): HTMLElement; private init; private next; private previous; private getCurrent; private resetCells; }