import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core'; import { CroppieOptions, ResultOptions } from 'croppie'; import * as i0 from "@angular/core"; export type Type = 'canvas' | 'base64' | 'html' | 'blob' | 'rawcanvas'; export type Size = 'viewport' | 'original'; export interface TempResultOptions extends ResultOptions { type?: Type; size?: Size; } export declare class EsCroppieWrapperComponent implements OnInit, OnDestroy { imageEdit: ElementRef; croppieOptions: CroppieOptions; imageUrl: string; outputFormatOptions: TempResultOptions; result: EventEmitter; private _croppie; ngOnInit(): void; /** * Vrátí Base64 string aktuálního ořezu */ newResult(): void; /** * Vrátí Blob pro upload */ getBlob(): Promise; ngOnDestroy(): void; /** * Přebind obrázku (pokud chceš změnit URL dynamicky) */ rebind(url: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }