/** The parts of sharp's default export the image builders call. */ export type SharpPipeline = { jpeg(options: { readonly quality: number; }): SharpPipeline; png(): SharpPipeline; withMetadata(options: { readonly orientation: number; }): SharpPipeline; toBuffer(): Promise; }; /** The part of sharp's default export the builders call. */ export type SharpFactory = (input: Uint8Array, options?: { readonly raw: { readonly width: number; readonly height: number; readonly channels: 3; }; }) => SharpPipeline; /** A page drawn as one JPEG over the whole Letter page. */ export type PdfImagePage = { readonly jpeg: Uint8Array; readonly width: number; readonly height: number; }; /** One PDF page: text lines in Helvetica, or an image. */ export type PdfPage = { readonly lines: readonly string[]; } | PdfImagePage; /** A PDF 1.4 file of US Letter pages. Object 1 is the catalog, 2 the page tree, 3 Helvetica; each page takes one object * for the page, one for its content and, for an image, one more. Every xref offset is measured from the bytes written. */ export declare function pdfBytes(pages: readonly PdfPage[]): Uint8Array; /** One Letter page of invented notice text, with a text layer. */ export declare const letterPdf: () => Uint8Array; /** One Letter page that is only a scan of the same notice: a JPEG, no text layer. */ export declare function scanPdf(sharp: SharpFactory): Promise; /** `pages` Letter pages of invented section text, each with a text layer. */ export declare const textPdf: (pages: number) => Uint8Array; /** `pages` pages of section text, where page `scannedPage` (1-based) is a scan of its own lines instead. */ export declare function mixedPdf(sharp: SharpFactory, pages: number, scannedPage: number): Promise; /** A full-page screenshot: numbered rows on alternating bands. The default shape is the one the planner's tiling covers. */ export declare function tallPng(sharp: SharpFactory, width?: number, height?: number): Promise; /** A 3840 by 2160 dashboard at 2x: sixty bordered metric boxes. */ export declare function widePng(sharp: SharpFactory): Promise; /** A 3024 by 4032 photo-like JPEG: a warm gradient with fine grain, stored with EXIF orientation 6 (rotate 90 clockwise to show). */ export declare function photoJpeg(sharp: SharpFactory): Promise; /** A word processor file: a title line, a numbered list and a table, in that order. */ export declare function docxBytes(): Uint8Array; /** A slide deck: two slides in order, each with a title, three bullets and its speaker notes. */ export declare function pptxBytes(): Uint8Array; /** A workbook with one sheet: a formula with a stored value, one without, and a 16-digit integer above 2^53, which a * double cannot hold exactly, so a reader must keep it as digits. */ export declare function xlsxBytes(): Uint8Array; /** An OpenDocument text file: a heading, a paragraph and a two-item list. Its `mimetype` entry comes first and is stored. */ export declare function odtBytes(): Uint8Array;