import { OnInit, EventEmitter } from "@angular/core";
import { EwMaDesignService } from '../../../ew-ma-design.service';
export declare class ImageSidebarComponent implements OnInit {
    designService: EwMaDesignService;
    currentPreviewLayout: string;
    showBackFor: string;
    model: {
        focused: boolean;
        type: string;
        meta_data: {
            image_url: string;
            image_name: string;
            image_width: number;
            image_height: number;
            image_size: number;
            width: any;
            height: any;
            margin_top: number;
            mobile_margin_top: number;
            padding_top: number;
            padding_right: number;
            padding_bottom: number;
            padding_left: number;
            opacity: number;
            link_url: string;
            link_target: string;
            align: string;
            border_radius: number;
            border_position: string;
            border_style: string;
            border_size: number;
            border_color: string;
            key: string;
            type: string;
            unique_class: string;
            image_type: string;
            box_shadow: string;
            custom_class: string;
            aspect_ratio: boolean;
            object_fit: string;
        };
    };
    onSidebarBackClick: EventEmitter<any>;
    showImageLibrary: Boolean;
    showImageLibraryPopup: boolean;
    environment: any;
    eventId: string;
    topMarginWebMobileBind: boolean;
    imgAspectRatio: number;
    /**
     * @description
     * Emit event to Done Click.
     */
    onDoneClick: EventEmitter<any>;
    callParentContainer: EventEmitter<any>;
    constructor(designService: EwMaDesignService);
    ngOnInit(): void;
    ngOnChanges(): void;
    ngOnDestroy(): void;
    selectedImage(image: any): void;
    removeImage(): void;
    changeImage(): void;
    closeConfig(): void;
    sidebarBack(type?: string): void;
    /**
    * Get the current value of Preview Layout style
    */
    ngDoCheck(): void;
    callElementContainer(data: any): void;
    /**
     * calculate width and height as per aspect ratio
     */
    calculateWidthHeight(data: number): any;
    calAspectRatio(element: string): void;
    toggleAspectRatio(): void;
}
