import * as i0 from '@angular/core'; import { TemplateRef, EventEmitter } from '@angular/core'; import * as i6 from '@obliczeniowo/elementary/pie-progress'; import { ProgressStatus } from '@obliczeniowo/elementary/pie-progress'; import { ControlValueAccessor } from '@angular/forms'; import * as i5 from '@angular/common'; import * as i7 from '@obliczeniowo/elementary/loading'; import * as i8 from '@obliczeniowo/elementary/icons'; interface ProgressStep { name: string; progress: number; status: ProgressStatus; data?: T; } declare class ProgressStepperComponent { /** * Steps state objects to display */ steps: ProgressStep[]; /** * Control displaying list of steps. * * active-only - display active and failure one only on list */ display: 'full-list' | 'active-only' | 'no-list'; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProgressVerticalStepperComponent { /** * Steps state objects to display */ steps: ProgressStep[]; /** * Control displaying list of steps. * * active-only - display active and failure one only on list */ display: 'full-list' | 'active-only' | 'no-list'; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } type StepperStepState = 'active' | 'inactive' | 'disabled'; interface Step { name: string; description: string; icon: string; state: StepperStepState; data?: T; } declare class StepperComponent implements ControlValueAccessor { /** steps to display */ steps: Step[]; /** template for description part */ stepTemplate?: TemplateRef; /** template for icon part */ iconTemplate?: TemplateRef; /** emit value when clicked (only in inactive, active state) */ clicked: EventEmitter>; protected getState(state: StepperStepState): { [x: string]: boolean; }; touched: boolean; onChange: (steps: Step[]) => void; onTouched: () => void; writeValue(steps: Step[]): void; registerOnChange(onChange: any): void; registerOnTouched(onTouched: any): void; registerOnValidatorChange(fn: () => void): void; markAsTouched(): void; setValue(): void; onClick(step: Step): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class VerticalStepperComponent extends StepperComponent { /** steps to display */ steps: Step[]; /** template for step description */ stepRef?: TemplateRef; /** template for icon */ iconRef?: TemplateRef; /** emit value when clicked (only in inactive, active state) */ clicked: EventEmitter>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class StepperModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { ProgressStepperComponent, ProgressVerticalStepperComponent, StepperComponent, StepperModule, VerticalStepperComponent }; export type { ProgressStep, Step, StepperStepState };