/** Probe encoded dimensions before retaining a decoded image. Unknown/animated formats are skipped. */ export declare function imagePixels(bytes: Uint8Array): number | null; /** The budget limits retained RGBA estimates, not the browser's total GPU/process memory. */ export declare function createImagePredecoder(): { prepare: (urls: string[], maxBytes: number) => Promise; clear: () => void; stats: () => { images: number; bytes: number; }; };