/** * A plain PNG of exactly the dimensions asked for. * * Production code, not a fixture — though the fixtures use it too. **Every pass * must carry an icon**, and a business that has just signed up has not uploaded * one: without this the first pass they preview cannot be built at all, and the * fifteen-minute path from signing up to a poster on the counter has a wall in * the middle of it. A rectangle in their own colours is a poor logo and a * perfectly good placeholder. * * Hand-written rather than reached for: `sharp` is libvips — a native binary and * a hundred megabytes — and the alternative to that is a checked-in binary * nobody can read in a diff. Writing a solid PNG is a header, one deflated * scanline block and a checksum. */ 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=placeholder.d.ts.map