import * as i0 from '@angular/core'; import { AfterContentInit, OnChanges, AfterViewInit, OnDestroy, EventEmitter, QueryList, ElementRef, SimpleChanges } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; /** * @ignore * @internal */ interface IEuiWizardStep { id: string; indexLabel: string; indexIconSvgName: string; label: string; subLabel: string; isCompleted: boolean; isActive: boolean; isShowStepTitle: boolean; isInvalid: boolean; isWarning: boolean; isDisabled: boolean; index: number; url: string; } /** * @ignore * @internal */ declare class EuiWizardStep implements IEuiWizardStep { id: string; indexLabel: string; indexIconSvgName: string; label: string; subLabel: string; isCompleted: boolean; isActive: boolean; isShowStepTitle: boolean; isInvalid: boolean; isWarning: boolean; isDisabled: boolean; index: number; url: string; constructor(values?: any); toString(): string; toJSON(): object; } /** * @ignore * @internal */ declare class EuiWizardStepComponent implements EuiWizardStep { id: string; indexLabel: string; indexIconSvgName: string; label: string; subLabel: string; index: number; url: string; isCompleted: boolean; isActive: boolean; isShowStepTitle: boolean; isInvalid: boolean; isWarning: boolean; isDisabled: boolean; /** * TODO: from which one is this method being used from? */ toJSON(): object; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_isCompleted: unknown; static ngAcceptInputType_isActive: unknown; static ngAcceptInputType_isShowStepTitle: unknown; static ngAcceptInputType_isInvalid: unknown; static ngAcceptInputType_isWarning: unknown; static ngAcceptInputType_isDisabled: unknown; } /** * @ignore * @internal * @description * Enhanced wizard component (version 2) for guiding users through sequential processes or forms. * Displays step indicators with navigation controls and manages step activation state. * Supports keyboard navigation, custom content mode, and programmatic step selection. * Provides both declarative (content children) and programmatic (steps array) configuration. * Commonly used for onboarding flows, multi-page forms, checkout processes, and guided workflows. * * @usageNotes * ### Basic Usage * ```html * * *
*
* *
*
* *
*
*
* ``` * * ### Custom Content Mode * ```html * * * * *
Step 1 Content
*
Step 2 Content
* ``` * * ### Accessibility * - Use role="navigation" with aria-label describing the wizard * - Each step has clear labels and state indicators * - Keyboard navigation: Arrow keys to move between steps * - Current step is announced to screen readers * * ### Notes * - activeStepIndex is 1-based (first step is 1, not 0) * - isCustomContent mode displays only step indicators * - isShowStepTitle displays step labels below indicators * - isNavigationAllowed controls whether users can click steps directly * - Version 2 provides enhanced features over original wizard */ declare class EuiWizardComponent implements AfterContentInit, OnChanges, AfterViewInit, OnDestroy { activeStepIndex: number; steps: Array; tabindex: number; e2eAttr: string; selectStep: EventEmitter; childrenSteps: QueryList; canBeFocused: QueryList; stepContentId: string; stepIds: string; isCustomContent: boolean; isShowStepTitle: boolean; isNavigationAllowed: boolean; private destroy$; ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; ngAfterContentInit(): void; ngOnDestroy(): void; onSelectStep(step: EuiWizardStep, index: number): void; onKeyDown(event: KeyboardEvent): void; protected selectPreviousStep(): void; protected selectNextStep(): void; private _selectStep; private rebuildSteps; private _getStep; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_isCustomContent: unknown; static ngAcceptInputType_isShowStepTitle: unknown; static ngAcceptInputType_isNavigationAllowed: unknown; } /** * @ignore * @internal */ declare class EuiWizardService { activeStepIndex: number; steps: EuiWizardStep[]; route: ActivatedRoute; private router; init(steps: EuiWizardStep[], route: ActivatedRoute): void; navigationIncrement(increment: number): void; selectStep(step: EuiWizardStep): void; private _navigateToStep; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const EUI_WIZARD_V2: readonly [typeof EuiWizardStepComponent, typeof EuiWizardComponent]; export { EUI_WIZARD_V2, EuiWizardComponent, EuiWizardService, EuiWizardStep, EuiWizardStepComponent }; export type { IEuiWizardStep }; //# sourceMappingURL=eui-components-eui-wizard-v2.d.ts.map