import type { VisualQaAssert, VisualQaCriticResult, VisualQaVerdict } from './types'; /** Word-wrap to lines of at most `n` characters (a word longer than a line is split). Nothing is dropped. */ export declare function wrapText(s: string, n: number): string[]; export interface ContactSheetInput { title: string; subtitle: string; verdict: VisualQaVerdict; reasons: string[]; frames: Array<{ label: string; bytes: Buffer; }>; asserts: VisualQaAssert[]; critic: VisualQaCriticResult | null; } export declare function renderContactSheet(input: ContactSheetInput): Promise; export interface PoseSheetInput { title: string; subtitle: string; /** Every pose id in its fixed order; a pose that could not be made has no bytes and says why. */ poses: Array<{ id: string; label: string; bytes: Buffer | null; why: string | null; }>; } /** * The appearance poses on one sheet (`poses.jpg`), in their fixed order, each tile captioned with its id: the picture an * author puts beside the reference photos. A pose that could not be made keeps its tile, grey, with the reason. */ export declare function renderPoseSheet(input: PoseSheetInput): Promise;