import * as i0 from '@angular/core'; import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core'; import * as i1 from '@angular/common'; import * as i3 from '@veloceapps/components'; import { ToastService } from '@veloceapps/components'; import * as i1$1 from '@angular/router'; import { ActivatedRoute, Router, ActivatedRouteSnapshot, Params, Route } from '@angular/router'; import * as i2 from '@veloceapps/sdk/cms'; import { CMSPreviewConfig, IntegrationState as IntegrationState$1 } from '@veloceapps/sdk/cms'; import { UIDefinitionContainer, UIDefinition } from '@veloceapps/core'; import * as i8 from '@veloceapps/sdk/core'; import { ConfigurationRuntimeService, ConfigurationStateService, FlowInfoService, FlowCustomization, FlowStateService, RuntimeSettingsService, IntegrationState, ConfigurationService } from '@veloceapps/sdk/core'; import * as rxjs from 'rxjs'; import { BehaviorSubject, Observable } from 'rxjs'; import { UITemplatesAdminApiService } from '@veloceapps/api/v2'; import * as i4 from '@veloceapps/api'; import * as i2$1 from 'primeng/button'; import { DynamicDialogConfig, DynamicDialogRef, DialogService } from 'primeng/dynamicdialog'; declare const VELOCE_FLOW_ROOT_ROUTE = "VELOCE_FLOW_ROOT_ROUTE"; declare class ProductComponent implements OnInit, OnDestroy { private configurationRuntimeService; private configurationStateService; private flowService; private route; config: CMSPreviewConfig; uiDefinitionContainer$: BehaviorSubject; showNotFound$: BehaviorSubject; isInitialized$: BehaviorSubject; private destroy$; constructor(configurationRuntimeService: ConfigurationRuntimeService, configurationStateService: ConfigurationStateService, flowService: FlowInfoService, route: ActivatedRoute); ngOnInit(): void; ngOnDestroy(): void; private init$; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProductModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface State$2 { loading: boolean; failure: boolean; } declare class ShoppingCartComponent implements OnInit, OnDestroy { private templatesAdminApiService; private cdr; private toastService; private flowInfo; private customizationService?; uiDefinition?: UIDefinition; state$: BehaviorSubject; private templateApiName; private destroyed$; constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined); ngOnInit(): void; ngOnDestroy(): void; private getLocalMeta$; private getOrgMeta$; private generateUIDefinition$; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ShoppingCartModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface State$1 { loading: boolean; failure: boolean; } declare class CatalogComponent implements OnInit, OnDestroy { private templatesAdminApiService; private cdr; private toastService; private flowInfo; private customizationService?; uiDefinition?: UIDefinition; state$: BehaviorSubject; private templateApiName; private destroyed$; constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined); ngOnInit(): void; ngOnDestroy(): void; private getLocalMeta$; private getOrgMeta$; private generateUIDefinition$; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CatalogModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface State { loading: boolean; failure: boolean; } declare class AssetsComponent implements OnInit, OnDestroy { private templatesAdminApiService; private cdr; private toastService; private flowInfo; private customizationService?; uiDefinition?: UIDefinition; state$: BehaviorSubject; private templateApiName; private destroyed$; constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined); ngOnInit(): void; ngOnDestroy(): void; private getLocalMeta$; private getOrgMeta$; private generateUIDefinition$; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AssetsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class FlowRoutingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class FlowHeaderComponent implements OnDestroy { private templatesAdminApiService; private flowStateService; private flowInfo; private toastService; private customizationService?; uiDefinition$: BehaviorSubject; private templateApiName; private destroy$; constructor(templatesAdminApiService: UITemplatesAdminApiService, flowStateService: FlowStateService, flowInfo: FlowInfoService, toastService: ToastService, customizationService?: FlowCustomization | undefined); ngOnDestroy(): void; private initialize; private getLocalMeta$; private getOrgMeta$; private generateUIDefinition$; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FlowNewHeaderModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface FlowDialogConfig { title: string; description?: string; primaryButton: string; secondaryButton?: string; oppositeButtonActions?: boolean; } declare class FlowDialogComponent { private dialogConfig; private ref; config: FlowDialogConfig; constructor(dialogConfig: DynamicDialogConfig, ref: DynamicDialogRef); cancelHandler(): void; confirmHandler(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FlowDialogModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class GuidedSellingComponent implements OnDestroy { private templatesAdminApiService; private flowStateService; private flowInfo; private toastService; private customizationService?; uiDefinition$: BehaviorSubject; private templateApiName; private destroy$; constructor(templatesAdminApiService: UITemplatesAdminApiService, flowStateService: FlowStateService, flowInfo: FlowInfoService, toastService: ToastService, customizationService?: FlowCustomization | undefined); ngOnDestroy(): void; private initialize; private getLocalMeta$; private getOrgMeta$; private generateUIDefinition$; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class GuidedSellingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } type FlowDialogFn = keyof Omit; declare class FlowDialogService { private dialogService; private runtimeSettings; private flowInfoService; constructor(dialogService: DialogService, runtimeSettings: RuntimeSettingsService, flowInfoService: FlowInfoService); show(config: FlowDialogConfig): Observable; showEmptyCartDialog(): Observable; showReadonlyModeDialog(): Observable; showQuoteReadonlyModeDialog(): Observable; showQuoteInConfiguratorDialog(): Observable; showAccountNoChangesDialog(): Observable; showUnsavedChangesDialog(): Observable; showTermsLimitReachedDialog(): Observable; showDialog(dialog: FlowDialogFn): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FlowRouterService { private router; private route; private integrationState; private flowInfoService; loading$: Observable; private routeChange$; private lastChildParams$; private lastChildRoute$; private urlHistory; constructor(router: Router, route: ActivatedRoute, integrationState: IntegrationState, flowInfoService: FlowInfoService); get route$(): Observable; get params$(): Observable; get params(): Params; getFlowRootRoute(route: ActivatedRouteSnapshot): ActivatedRouteSnapshot | undefined; getFlowRootPath(route: ActivatedRouteSnapshot): string; getLastChildRoute: (route: ActivatedRoute) => ActivatedRoute; getNthChildRoute: (route: ActivatedRoute, index: number) => ActivatedRoute; getLastChildRouteSnapshot: (route: ActivatedRouteSnapshot) => ActivatedRouteSnapshot; watchLastChildRoute$: (route: ActivatedRoute) => Observable; getLastChildParams: (route: ActivatedRouteSnapshot) => Params; watchLastChildParams$: (route: ActivatedRoute) => Observable; getFlowSubpath$: () => Observable; isConfigurationRoute$(): Observable; isCartRoute$(): Observable; isCatalogRoute$(): Observable; isAssetsRoute$(): Observable; navigateBack(): void; navigateTo(path: string, productId?: string, transactionItemId?: string): void; navigateToProductConfiguration(productId: string, transactionItemId?: string): void; navigateToShoppingCart(): void; navigateToCatalog(): void; navigateToAssets(): void; showErrorPage$(message: string, details?: string[]): Observable; switchObject(id: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FlowService { private integrationState; private flowRouterService; private configurationService; private configurationStateService; private flowDialogService; private flowStateService; private flowInfoService; private cleanup$; constructor(integrationState: IntegrationState$1, flowRouterService: FlowRouterService, configurationService: ConfigurationService, configurationStateService: ConfigurationStateService, flowDialogService: FlowDialogService, flowStateService: FlowStateService, flowInfoService: FlowInfoService); cleanup(): void; initSubscriptions(): void; private updateFlowParams; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FlowGuidedSellingService { private integrationState; private cleanup$; private isVisibleSubj$; isVisible$: rxjs.Observable; constructor(integrationState: IntegrationState); cleanup(): void; private initSubscriptions; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FlowComponent implements OnDestroy { private routerService; private flowService; private flowInfoService; private guidedSellingService; isLoading$: Observable; showHeader$: Observable; isStandalone$: Observable; guidedSellingVisible$: Observable; constructor(routerService: FlowRouterService, flowService: FlowService, flowInfoService: FlowInfoService, guidedSellingService: FlowGuidedSellingService); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FlowModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface RouteWithId extends Route { id?: string; } export { FlowDialogService, FlowModule, FlowRouterService, FlowService, VELOCE_FLOW_ROOT_ROUTE }; export type { FlowDialogFn, RouteWithId };