import { EventEmitter, OnInit } from '@angular/core';
import { Title } from '@angular/platform-browser';
import { ActivatedRoute } from '@angular/router';
import { NavController } from '@ionic/angular';
import { FBConfigModel } from '../../../models/questionnaire/FBConfigModel';
import { QuestionnaireQueryModel } from '../../../models/questionnaire/QuestionnaireQueryModel';
import { BasePage } from '../../../pages/BasePage';
import { LoggerService } from '../../../services/logger/logger.service';
import { LoginService } from '../../../services/login/login.service';
import { UtilService } from '../../../services/util/util.service';
import { QuestionService } from '../../questionnaire/question.service';
import { RenderQuestionnairePage } from '../render-questionnaire/render-questionnaire.page';
import * as i0 from "@angular/core";
export declare class FormBuilderPage extends BasePage implements OnInit {
    util: UtilService;
    logger: LoggerService;
    service: QuestionService;
    private activatedRoute;
    private nav;
    titleService: Title;
    loginService: LoginService;
    questionnaire: RenderQuestionnairePage;
    showLoaderTheme12: boolean;
    backButtonPage: string;
    nextButtonPage: string;
    loaderService: string;
    queryModel: QuestionnaireQueryModel;
    model: FBConfigModel;
    autoSave: boolean;
    pageType: string;
    hideHeader: boolean;
    hideFooter: boolean;
    flowKey: string;
    showOnlyQuestion: boolean;
    dynamicParam: any;
    modelCancel: EventEmitter<boolean>;
    onComplete: EventEmitter<any>;
    onError: EventEmitter<any>;
    sizeXs: number;
    sizeSm: number;
    sizeMd: number;
    sizeLg: number;
    sizeXl: number;
    offsetXs: number;
    offsetSm: number;
    offsetMd: number;
    offsetLg: number;
    offsetXl: number;
    data: any;
    showError: boolean;
    readonly: Boolean;
    multiMode: boolean;
    readOnlyFields: string[];
    onLoadComplete: EventEmitter<any>;
    constructor(util: UtilService, logger: LoggerService, service: QuestionService, activatedRoute: ActivatedRoute, nav: NavController, titleService: Title, loginService: LoginService);
    submitQuestionnaire(): void;
    loadComplete(event: any): void;
    complete(event: any): void;
    ngOnInit(): void;
    getFlowData(key: string): void;
    private setSizes;
    onModelCancel(cancel: boolean): void;
    handleError(error: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FormBuilderPage, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<FormBuilderPage, "app-form-builder", never, { "autoSave": { "alias": "autoSave"; "required": false; }; "pageType": { "alias": "pageType"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "hideFooter": { "alias": "hideFooter"; "required": false; }; "flowKey": { "alias": "flowKey"; "required": false; }; "showOnlyQuestion": { "alias": "showOnlyQuestion"; "required": false; }; "dynamicParam": { "alias": "dynamicParam"; "required": false; }; "sizeXs": { "alias": "sizeXs"; "required": false; }; "sizeSm": { "alias": "sizeSm"; "required": false; }; "sizeMd": { "alias": "sizeMd"; "required": false; }; "sizeLg": { "alias": "sizeLg"; "required": false; }; "sizeXl": { "alias": "sizeXl"; "required": false; }; "offsetXs": { "alias": "offsetXs"; "required": false; }; "offsetSm": { "alias": "offsetSm"; "required": false; }; "offsetMd": { "alias": "offsetMd"; "required": false; }; "offsetLg": { "alias": "offsetLg"; "required": false; }; "offsetXl": { "alias": "offsetXl"; "required": false; }; "data": { "alias": "data"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "multiMode": { "alias": "multiMode"; "required": false; }; "readOnlyFields": { "alias": "readOnlyFields"; "required": false; }; }, { "modelCancel": "modelCancel"; "onComplete": "onComplete"; "onError": "onError"; "onLoadComplete": "onLoadComplete"; }, never, never, false, never>;
}
//# sourceMappingURL=form-builder.page.d.ts.map