import { MagickColor } from './magick-color';
import { MagickImage } from './magick-image';
import { MagickReadSettings } from './settings/magick-read-settings';
export declare class ImageMagick {
    private readonly loader;
    private api?;
    private constructor();
    static _create(): ImageMagick;
    static read(color: MagickColor, width: number, height: number, func: (image: MagickImage) => void): void;
    static read(color: MagickColor, width: number, height: number, func: (image: MagickImage) => Promise<void>): Promise<void>;
    static read(fileName: string, func: (image: MagickImage) => void): void;
    static read(fileName: string, func: (image: MagickImage) => Promise<void>): Promise<void>;
    static read(array: Uint8Array, func: (image: MagickImage) => void): void;
    static read(array: Uint8Array, func: (image: MagickImage) => Promise<void>): Promise<void>;
    static read(fileName: string, settings: MagickReadSettings, func: (image: MagickImage) => void): void;
    static read(fileName: string, settings: MagickReadSettings, func: (image: MagickImage) => Promise<void>): Promise<void>;
    static read(array: Uint8Array, settings: MagickReadSettings, func: (image: MagickImage) => void): void;
    static read(array: Uint8Array, settings: MagickReadSettings, func: (image: MagickImage) => Promise<void>): Promise<void>;
}
export declare function initializeImageMagick(): Promise<void>;
