export declare function getWindow(): any; export declare function acceptType(accept: string, type: string, name?: string): boolean; export interface InvalidFileItem { file: File; type: string; } export declare function arrayBufferToBase64(buffer: any): string; export declare function dataUrltoBlob(dataurl: string, name: string, origSize?: any): Blob; export interface orientationMeta { orientation: number; fixedArrayBuffer?: any[]; } export declare function applyTransform(ctx: CanvasRenderingContext2D, orientation: number, width: number, height: number): void; export declare function fixFileOrientationByMeta(file: File, result: orientationMeta): Promise; export declare function applyExifRotation(file: File): Promise; export declare function readOrientation(file: File): Promise; /** converts file-input file into base64 dataUri */ export declare function dataUrl(file: any, disallowObjectUrl?: any): Promise; export declare function restoreExif(orig: any, resized: any): any;