import type { IdmlSafetyLimits } from './idmlLimits.js'; import { type IdmlZipPreflight } from './idmlPreflight.js'; export interface IdmlPageBounds { top: number; left: number; bottom: number; right: number; widthPoints: number; heightPoints: number; label: string; } export interface IdmlPageRenderProjection { width: number; height: number; pixels: number; rgbaBytes: number; estimatedPngBytes: number; projectedWorkingSetBytes: number; } export declare class IdmlPageGeometryError extends Error { readonly code: string; constructor(code: string, message: string); } export declare const inspectIdmlPageBounds: (source: Uint8Array, archive: IdmlZipPreflight, limits: IdmlSafetyLimits, signal?: AbortSignal) => Promise; export declare const projectIdmlPageRender: (bounds: IdmlPageBounds, dpi: number, limits: IdmlSafetyLimits) => IdmlPageRenderProjection;