export declare const loadLib: () => Promise; export declare const useUrl: (url: string) => void; export declare const isHeic: (buffer: any) => boolean; interface ImageData { width: any; height: any; data: any; } interface ImageDecoder { decode: () => Promise; } export declare const decodeImage: (image: any) => Promise; export declare const decodeBuffer: (options: { buffer: any; all: boolean; }) => Promise; export declare const convert: (buffer: any) => Promise; export declare const convertAll: (buffer: any) => Promise; export declare const encodeByCanvas: (image: ImageData) => Promise; export declare const toDataURL: (image: ImageData, type?: string, quality?: any) => Promise; export declare const toBlob: (image: ImageData, type?: string, quality?: any) => Promise; export declare const toFile: (image: ImageData, filename: string, type?: string, quality?: any) => Promise; export declare const convertBuffer: (buffer: any, filename: string, type?: string, quality?: any) => Promise; export declare const convertHeif: (file: File, filename?: string, type?: string, quality?: any) => Promise; interface ImageConverter { convert: (filename?: string, type?: string, quality?: any) => Promise; } export declare const convertAllOfHeif: (file: File) => Promise; export {};