export interface PngSize { width: number; height: number; } /** * Read a PNG's pixel dimensions from its IHDR chunk. * * @throws if the file is missing or not a PNG (signature / IHDR mismatch). */ export declare function readPngSize(path: string): Promise; /** Parse PNG dimensions from an in-memory buffer (the IHDR is always first). */ export declare function parsePngSize(buf: Buffer, label?: string): PngSize; //# sourceMappingURL=png.d.ts.map