import type { ImageBuffer, ImageRaw } from '../types';
import type { Size } from '@applitools/utils';
export declare function isPngBuffer(buffer: ImageBuffer): boolean;
export declare function extractPngSize(buffer: ImageBuffer): Size;
export declare function fromPngBuffer(buffer: ImageBuffer): Promise<ImageRaw>;
export declare function toPng(image: ImageRaw): Promise<ImageBuffer>;
