import type { Image } from '../Image.js'; /** * Read an image from the disk. * The file format is automatically selected based on the first few bytes. * This method is only implemented for Node.js. * @param path - The path to the image. * @returns Image instance. */ export declare function read(path: string | URL): Promise; /** * Synchronous version of {@link read}. * This method is only implemented for Node.js. * @param path - The path to the image. * @returns Image instance. */ export declare function readSync(path: string | URL): Image; //# sourceMappingURL=read.d.ts.map