/** * A real PNG of exactly the dimensions asked for. * * Every pass fixture needs images, and every image rule in this package is about * *size* — an `@2x` that is not exactly twice its base, a logo wider than the * layout allows. A one-pixel placeholder cannot exercise any of that, and a * checked-in binary of each size is a directory of files nobody can read in a * diff. * * So the fixtures are generated. Small enough to be free — a solid colour * deflates to almost nothing — and honest enough that `readPngSize`, and any * other decoder, agrees with the number that was asked for. */ export declare function solidPng(width: number, height: number, colour?: { r: number; g: number; b: number; }): Buffer; /** A stable digest of an image, for a test that wants to say "the same one". */ export declare const fingerprint: (bytes: Uint8Array) => string; //# sourceMappingURL=png.d.ts.map