import { EventEmitter } from '../../stencil-public-runtime'; import { MdsStepperBarEventDetail } from './meta/event-detail'; import { StepperBarNavigationType } from './meta/meta'; /** * @slot - Add `mds-stepper-bar-item` element/s. * @slot content - Add `HTML elements` or `components`, one per mds-stepper-bar-item added * @part items - Selects the `items` container element wrapped in shadowDOM. * @part contents - Selects the `contents` container element wrapped in shadowDOM. * @category navigation */ export declare class MdsStepperBar { private items; currentItem: number; private element; /** * Sets the current item by its position, counted from 1: the items before it are done. 1 makes * the first item current with none done, 0 makes no item current, the number of items + 1 marks * them all done */ readonly itemsDone: number; /** * Specifies the navigation type */ readonly navigation: StepperBarNavigationType; private queryItems; private queryContentItems; private minmax; private setCurrent; private setCurrentContent; /** * Emits when a step is changed */ changedEvent: EventEmitter; private scrollItems; /** * Measures from the boxes and moves the current scroll by the difference. * `offsetLeft` would mix two coordinate systems: the items are slotted light * children, so they measure from whatever is positioned above the host - the * page, since mds-stepper-bar does not position itself - while the strip is a * div in the shadow root that measures from its own parent. What is left over * is the distance of the component from the left of the page, and it lands * straight on the scroll. */ private scrollToItem; componentWillLoad(): void; componentDidLoad(): void; itemDone(newValue: number): void; render(): any; }