import { Renderer2, ElementRef, OnInit, AfterViewInit } from '@angular/core';
import { FormGroup, FormBuilder } from '@angular/forms';
import { EwMaDesignService } from '../../ew-ma-design.service';
import { MatDialog } from '@angular/material/dialog';
import { EwDesignHeaderComponent } from '../ew-design-header/ew-design-header.component';
import { LoggerService, FlashService } from 'ew-common-lib';
export declare class ThankyouPageComponent implements OnInit, AfterViewInit {
    private designService;
    private formBuilder;
    dialog: MatDialog;
    private ewloggerService;
    private ewFlashService;
    private renderer;
    private el;
    /**
     * @description
     * Section Loader
     */
    sectionLoader: Boolean;
    /**
     * Thankyou page customisation controls form group.
     */
    thankyouPageBuilderForm: FormGroup;
    header: EwDesignHeaderComponent;
    viewInit: boolean;
    openSidebar: boolean;
    activeSidebarOptions: string;
    changeDetected: boolean;
    oldValueOfSettingpageCheck: boolean;
    private saveEventSubscription;
    selectedElementData: {
        type: string;
        sidebar_active: string;
        focused: false;
        meta_data: any;
    };
    pageBuilderLayout: any;
    hiddenElementData: any;
    styleRef: any;
    /**
     * Initialise Services.
     * @param designService
     * @param formBuilder
     * @param ewloggerService
     */
    constructor(designService: EwMaDesignService, formBuilder: FormBuilder, dialog: MatDialog, ewloggerService: LoggerService, ewFlashService: FlashService, renderer: Renderer2, el: ElementRef);
    /**
     * NgOnint hook
     */
    ngOnInit(): void;
    ngDoCheck(): void;
    ngOnDestroy(): void;
    addSection(section_type: string, index?: number): void;
    removeSection(mi: number): void;
    cloneSection(mi: number): void;
    moveSection(direction: string, mi: number): void;
    configureElement(component: any): void;
    ngAfterViewInit(): void;
    /**
     * @description
     * Setup the form.
     */
    initializeProcess(): void;
    saveChanges(): void;
    fetchDataFromAPI(): void;
    get tyForm(): any;
    closeConfigPanel(): void;
    /**
     * apply Typography
     */
    applyTypography(): void;
    /**
     * Remove Element Focus from Page Hover Element
     */
    removeElementFocus(): void;
    /**
     * @description
     * close the sidebar for Popup
     */
    sidebarBack(type?: string): void;
    openConfigPanel(): void;
    /**
     * @description
     * Manage right sidebar config sections.
     */
    changeSidebarOptions(activeTabValue: string): void;
    /**
     * Apply Style property on HTML element type DOM
     * @param element
     * @param style
     */
    applyStylePropertyOnEle(element: any, style: any): void;
    /**
    * @description
    * Function to extract html from the template and return as string
    * @param data
    */
    getHtml(data?: any): string;
    awakeSideBar(data: any): void;
    callHiddenElement(data: any): void;
    /**
     * function to publish the changes or write the html to s3
     */
    publishChanges(): void;
}
