/** Mirrors helix-backend-api `VISUAL_QA_MAX_FRAMES` (9 seats, 6 wheels, 8 panels, 3 rendition passes, 4 add-ons, night set). */ export declare const VISUAL_QA_MAX_FRAMES = 218; /** The submit route's JSON body limit (helix-backend-api `VISUAL_QA_SUBMIT_BODY_LIMIT`). */ export declare const VISUAL_QA_SUBMIT_BODY_BYTES: number; /** Base64 frame bytes a bundle may carry, leaving room for asserts, facts and JSON framing inside the body limit. */ export declare const VISUAL_QA_FRAME_PAYLOAD_BUDGET: number; export declare const base64Length: (bytes: number) => number; /** A clear refusal before any upload when a bundle carries more frames than the server takes. */ export declare function frameCountProblem(frames: number, max?: number): string | null; export type FramePayload = { data: string[]; bytes: number; compaction: null | { fromBytes: number; toBytes: number; quality: number; edge: number | null; }; }; /** Every frame as base64, compacted (never dropped) when the set is over the payload budget. */ export declare function encodeFramesForSubmit(frames: ReadonlyArray<{ file: string; }>, bundleDir: string, budget?: number): Promise; /** A server refusal of the bundle itself, said plainly instead of as a raw status line. */ export declare function describeSubmitRefusal(status: number, body: Record, text: string): string;