import * as i2 from '@angular/cdk/stepper'; import { CdkStepLabel, CdkStepHeader, StepState, CdkStep, CdkStepper, CdkStepperNext, CdkStepperPrevious } from '@angular/cdk/stepper'; export { StepState } from '@angular/cdk/stepper'; import * as i0 from '@angular/core'; import { TemplateRef, AfterViewInit, OnDestroy, AfterContentInit, QueryList, ElementRef, EventEmitter } from '@angular/core'; import * as i1 from '@angular/cdk/portal'; import { TemplatePortal } from '@angular/cdk/portal'; import * as i1$1 from '@sbb-esta/angular/core'; import { SbbErrorStateMatcher } from '@sbb-esta/angular/core'; import * as i3 from '@sbb-esta/angular/icon'; import { AnimationEvent, AnimationTriggerMetadata } from '@angular/animations'; import { AbstractControl, FormGroupDirective, NgForm } from '@angular/forms'; import { Subject } from 'rxjs'; import { FocusOrigin } from '@angular/cdk/a11y'; /** * Content for a `sbb-step` that will be rendered lazily. */ declare class SbbStepContent { _template: TemplateRef; constructor(...args: unknown[]); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SbbStepLabel extends CdkStepLabel { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SbbStepHeader extends CdkStepHeader implements AfterViewInit, OnDestroy { private _focusMonitor; /** State of the given step. */ state: StepState; /** Label of the given step. */ label: SbbStepLabel | string; /** Index of the given step. */ index: number; /** Whether the given step is selected. */ selected: boolean; /** Whether the given step label is active. */ active: boolean; /** Whether the given step is optional. */ optional: boolean; /** Whether the given step is not editable and completed. */ locked: boolean; ngAfterViewInit(): void; ngOnDestroy(): void; /** Focuses the step header. */ focus(origin?: FocusOrigin, options?: FocusOptions): void; /** Returns string label of given step if it is a text label. */ _stringLabel(): string | null; /** Returns SbbStepLabel if the label of given step is a template label. */ _templateLabel(): SbbStepLabel | null; /** Returns the host HTML element. */ _getHostElement(): HTMLElement; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SbbStep extends CdkStep implements SbbErrorStateMatcher, AfterContentInit, OnDestroy { private _errorStateMatcher; private _viewContainerRef; private _isSelected; /** Content for step label given by ``. */ stepLabel: SbbStepLabel; /** Content that will be rendered lazily. */ _lazyContent: SbbStepContent; /** Currently-attached portal containing the lazy content. */ _portal: TemplatePortal; ngAfterContentInit(): void; ngOnDestroy(): void; /** Custom error state matcher that additionally checks for validity of interacted form. */ isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SbbProcessflow extends CdkStepper implements AfterContentInit { /** The list of step headers of the steps in the processflow. */ _stepHeader: QueryList; _tabListContainer: ElementRef; /** Full list of steps inside the processflow, including inside nested processflows. */ _steps: QueryList; /** Steps that belong to the current processflow, excluding ones from nested processflows. */ readonly steps: QueryList; /** Event emitted when the current step is done transitioning in. */ readonly animationDone: EventEmitter; /** Stream of animation `done` events when the body expands/collapses. */ readonly _animationDone: Subject; ngAfterContentInit(): void; /** * Moves the tab list such that the desired tab label (marked by index) is moved into view. */ _scrollToLabel(labelIndex: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** Button that moves to the next step in a stepper workflow. */ declare class SbbProcessflowNext extends CdkStepperNext { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** Button that moves to the previous step in a stepper workflow. */ declare class SbbProcessflowPrevious extends CdkStepperPrevious { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SbbProcessflowModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * Animations used by the Sbb processflow. * @docs-private */ declare const sbbProcessflowAnimations: { readonly stepTransition: AnimationTriggerMetadata; }; export { SbbProcessflow, SbbProcessflowModule, SbbProcessflowNext, SbbProcessflowPrevious, SbbStep, SbbStepContent, SbbStepHeader, SbbStepLabel, sbbProcessflowAnimations };