import { type IEventDetail, type IEventEmitter } from '@breadstone/mosaik-elements'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { ITourStep } from './ITourStep'; import type { ITourStepElementProps } from './ITourStepElementProps'; import type { ITourStepLabels } from './ITourStepLabels'; declare const TourStepElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * TourStep - Displays the content and navigation controls for a single tour step. * * @description * Rendered automatically by `mosaik-tour` to present one step of the guided tour. * The step data, first/last step flags, and navigation events are controlled by * the parent `mosaik-tour` — all via JavaScript properties, not HTML attributes. * * @name TourStep * @element mosaik-tour-step * @category Overlays * * @example * Tour step managed by the parent tour element: * ```html * * * ``` * * @public */ export declare class TourStepElement extends TourStepElement_base implements ITourStepElementProps { private readonly _previous; private readonly _next; private readonly _finish; private readonly _skip; private _step; private _isFirstStep; private _isLastStep; /** * @public */ constructor(); /** * Gets or sets the step data. * * @public */ get step(): ITourStep | null; set step(value: ITourStep | null); /** * Gets or sets whether this is the first step. * * @public */ get isFirstStep(): boolean; set isFirstStep(value: boolean); /** * Gets or sets whether this is the last step. * * @public */ get isLastStep(): boolean; set isLastStep(value: boolean); /** * Provides resolved labels for the current step. * * @public * @readonly */ get resolvedLabels(): ITourStepLabels; /** * Fired when the previous action is triggered. * * @public * @readonly * @eventProperty */ get previous(): IEventEmitter; /** * Fired when the next action is triggered. * * @public * @readonly * @eventProperty */ get next(): IEventEmitter; /** * Fired when the finish action is triggered. * * @public * @readonly * @eventProperty */ get finish(): IEventEmitter; /** * Fired when the skip action is triggered. * * @public * @readonly * @eventProperty */ get skip(): IEventEmitter; /** * Emits the previous action event. * * @public */ onPreviousClicked(): void; /** * Emits the next action event. * * @public */ onNextClicked(): void; /** * Emits the finish action event. * * @public */ onFinishClicked(): void; /** * Emits the skip action event. * * @public */ onSkipClicked(): void; } /** * @public */ export declare namespace TourStepElement { type Props = ITourStepElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-tour-step': TourStepElement; } } export {}; //# sourceMappingURL=TourStepElement.d.ts.map