import { Observable, Subscription } from 'rxjs'; import * as i0 from '@angular/core'; import { OnDestroy, TemplateRef, EventEmitter, QueryList, AfterContentInit } from '@angular/core'; import { BreakpointState, BreakpointObserver } from '@angular/cdk/layout'; declare class ButtonHubService { buttonsReady: boolean; private _previousButtonClicked; get previousButtonClicked(): Observable; private _nextButtonClicked; get nextButtonClicked(): Observable; private _cancelButtonClicked; get cancelButtonClicked(): Observable; private _doneButtonClicked; get doneButtonClicked(): Observable; private _customButtonClicked; get customButtonClicked(): Observable; buttonClicked(buttonType: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class WizardNavigationService implements OnDestroy { pageCollection: PageCollectionService; buttonService: ButtonHubService; previousButtonSubscription: Subscription; nextButtonSubscription: Subscription; doneButtonSubscription: Subscription; cancelButtonSubscription: Subscription; private _currentChange; private _wizardDone; private _currentPage; private _wizardCancel; private _movedToNextPage; private _movedToPreviousPage; get currentPageChange(): Observable; get currentPageTitle(): TemplateRef | null; get currentPageDescription(): TemplateRef | null; get currentPageIsFirst(): boolean; get currentPageIsLast(): boolean; get currentPage(): UxgWizardPageComponent | null; set currentPage(page: UxgWizardPageComponent | null); setFirstPageCurrent(): void; get wizardDone(): Observable; get wizardCancel(): Observable; cancel(): void; constructor(pageCollection: PageCollectionService, buttonService: ButtonHubService); ngOnDestroy(): void; get movedToNextPage(): Observable; next(): void; forceNext(): void; checkAndCommitCurrentPage(buttonType: string): void; get movedToPreviousPage(): Observable; previous(): void; goTo(pageOrId: UxgWizardPageComponent | string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class UxgWizardPageDescriptionComponent { pageDescriptionTemplateRef: TemplateRef; constructor(pageDescriptionTemplateRef: TemplateRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class UxgWizardPageTitleComponent { pageTitleTemplateRef: TemplateRef; constructor(pageTitleTemplateRef: TemplateRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class UxgWizardPageComponent { private navService; pageCollection: PageCollectionService; buttonService: ButtonHubService; load: EventEmitter; nextButtonClicked: EventEmitter; previousButtonClicked: EventEmitter; doneButtonClicked: EventEmitter; get id(): string; get current(): boolean; constructor(navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService); pageTitle: UxgWizardPageTitleComponent; pageDescription: UxgWizardPageDescriptionComponent; private _disabled; get disabled(): boolean; set disabled(val: boolean); pageDisabledChange: EventEmitter; private _nextStepDisabled; get nextStepDisabled(): boolean; set nextStepDisabled(val: boolean); nextStepDisabledChange: EventEmitter; private _previousStepDisabled; get previousStepDisabled(): boolean; set previousStepDisabled(val: boolean); previousStepDisabledChange: EventEmitter; get title(): TemplateRef; get description(): TemplateRef; private _showTitle; get showTitle(): boolean; set showTitle(val: boolean); private _completed?; get completed(): boolean; set completed(value: boolean); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PageCollectionService { pages?: QueryList; get pagesAsArray(): UxgWizardPageComponent[]; get pagesCount(): number; get lastPage(): UxgWizardPageComponent | null; get firstPage(): UxgWizardPageComponent | null; getPageById(id: string): UxgWizardPageComponent; getPageByIndex(index: number): UxgWizardPageComponent; getPageIndex(page: UxgWizardPageComponent | null): number; private checkResults; pageRange(start: number, end: number): UxgWizardPageComponent[]; getPageRangeFromPages(page: UxgWizardPageComponent, otherPage: UxgWizardPageComponent): UxgWizardPageComponent[]; getPreviousPage(page: UxgWizardPageComponent): UxgWizardPageComponent | null; getNextPage(page: UxgWizardPageComponent | null): UxgWizardPageComponent | null; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type UxgWizardButtonType = 'cancel' | 'previous' | 'next' | 'done' | 'custom'; declare class UxgWizardButtonComponent { navService: WizardNavigationService; buttonService: ButtonHubService; type: UxgWizardButtonType; disabled: boolean; hidden: boolean; alwaysShow: boolean; wasClicked: EventEmitter; constructor(navService: WizardNavigationService, buttonService: ButtonHubService); private checkDefaultType; get isNext(): boolean; get isPrevious(): boolean; get isDone(): boolean; get isCancel(): boolean; get isCustom(): boolean; get isDisabled(): boolean; get isHidden(): boolean; get disabledAttribute(): string | null; click(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class UxgWizardTitleComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class UxgWizardComponent implements OnDestroy, AfterContentInit { navService: WizardNavigationService; pageCollection: PageCollectionService; buttonService: ButtonHubService; pages: QueryList; showPageTitles: boolean; showCloseButton: boolean; startingPage: number; cancel: EventEmitter; done: EventEmitter; currentPageChange: EventEmitter; currentPageId: number; private subscriptions; swipeCoord: [number, number]; swipeTime: number; xs: Observable; get currentPage(): UxgWizardPageComponent | null; set currentPage(page: UxgWizardPageComponent | null); get isLast(): boolean; get isFirst(): boolean; ngAfterContentInit(): void; constructor(navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, breakpointObserver: BreakpointObserver); ngOnDestroy(): void; onStepClick(page: UxgWizardPageComponent): void; swipe(e: TouchEvent, when: string): void; private listenForCancelChanges; private listenForDoneChanges; private listenForPageChanges; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export { ButtonHubService, PageCollectionService, UxgWizardButtonComponent, UxgWizardComponent, UxgWizardPageComponent, UxgWizardPageDescriptionComponent, UxgWizardPageTitleComponent, UxgWizardTitleComponent, WizardNavigationService }; export type { UxgWizardButtonType };