///
import { PixelMap } from './pixel-map';
/**
* Load an image from the specified path or buffer and parse it to a pixel map.
* @param path
* @param maxWidth
* @param maxHeight
*/
export declare const loadImage: (path: string | Buffer, maxWidth: number, maxHeight: number) => Promise;