import { HttpClient } from '@angular/common/http'; import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { DomSanitizer, SafeUrl } from '@angular/platform-browser'; import { Observable } from 'rxjs'; import { FileBase64Data } from '../base/base.component'; import { FileResponseData, FileService } from '../../services/file.service'; import { FileSaveData } from '../../services/fileInterface'; import { ModalService } from '../../services/modal.service'; import * as i0 from "@angular/core"; export interface ImagepickerOptionsData { isRounded?: boolean; isEditable?: boolean; useBackground?: boolean; defaultImage?: string; useRoot?: string; autosave?: boolean; askType?: string; defaultFileName?: string | null; imageStyle?: { [key: string]: string; }; } export declare class ImagepickerComponent implements OnInit, OnDestroy, OnChanges { private httpClient; private domSanitizer; fileService: FileService; modalService: ModalService; options: ImagepickerOptionsData; url: string | null; urlChange: EventEmitter; fileName: string; eventSave: EventEmitter; private src$; background: SafeUrl | null; private backgroundSubscription; dataUrl$: Observable | null; constructor(httpClient: HttpClient, domSanitizer: DomSanitizer, fileService: FileService, modalService: ModalService); ngOnInit(): void; ngOnDestroy(): void; ngOnChanges(changes: any): void; saveFile(options: FileSaveData, suffix?: string): Promise; processFile(responseData: FileResponseData): Promise; askForImage(): void; private loadImage; getImageStyle(): { [key: string]: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }