import { OnInit, InjectionToken, OnDestroy } from '@angular/core'; import { Observable, Subject } from 'rxjs'; import { TableOfContents, PersistenceService, PersistedDate, FormControls, ManifestSettings, TranslationFactory } from './types'; import { FormGroup, FormBuilder, FormControl } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; import { storage } from 'firebase/app'; export { TableOfContents, PersistenceService, PersistedDate, TranslationFactory }; export declare const TRANSLATION_FACTORY: InjectionToken; export declare const TABLE_OF_CONTENTS: InjectionToken>; export declare const PERSISTENCE_SERVICE: InjectionToken; export declare const REDIRECT: InjectionToken; export declare const AUTO_SAVE_INTERNAL: InjectionToken; export declare const DEBUG_MODE: InjectionToken; export declare class QuestionnaireComponent implements OnInit, OnDestroy { private readonly activatedRoute; private readonly router; private readonly persistenceService; private readonly redirect; private readonly _translate; private readonly autoSaveInterval; private readonly formBuilder; readonly debugMode: boolean; readonly tableOfContents$: Observable; readonly question$: Observable; readonly page$: Observable; readonly showRequiredError$: Subject; readonly control$: Observable; readonly formGroup$: Observable; readonly value$: Observable; readonly saving$: Observable; readonly showError$: Subject; readonly uniquePage$: Observable; readonly allPage$: Observable; private readonly componentDestroyed$; private readonly previousPage$; private readonly nextPage$; readonly showPrevious$: Observable; readonly showNext$: Observable; readonly showSubmit$: Observable; private shouldResume; lastError: any; constructor(manifest: Observable, activatedRoute: ActivatedRoute, router: Router, persistenceService: PersistenceService, redirect: any[], _translate: TranslationFactory, autoSaveInterval: number | undefined, formBuilder: FormBuilder, debugMode?: boolean); translate(...args: any[]): Observable; private urlSegmentToPage; get page(): string; ngOnInit(): void; showField(key: string, settings: ManifestSettings, controls: FormControls, data: any, manifest?: TableOfContents): boolean; private showFieldTest; private answersToDelete; private save; dismissError(): void; next(): Promise; previous(): Promise; submit(): Promise; ngOnDestroy(): void; className(key: string): string; formControl(key: string, control: any, settings: ManifestSettings): any; readonly fileUploads: Record>; private readonly fileUploadAborts; onSelectedFilesChanged(key: string, control: FormControl, fileList: FileList | null): void; }