export declare const PI: number; export declare const PI_2: number; export declare function isPow2(v: number): boolean; export interface ExportTile { /** Left offset of the tile in the full image (logical units). */ x: number; /** Top offset of the tile in the full image (logical units). */ y: number; /** Tile width (logical units); clamped at the right edge. */ width: number; /** Tile height (logical units); clamped at the bottom edge. */ height: number; } /** * Split a `width × height` image into a grid of tiles no larger than `limit` * on either axis. Used to export images that exceed a single GPU render pass * (texture / renderbuffer / viewport limits). Tiles are returned row-major and * cover the whole image with no overlap; edge tiles are clamped to the * remaining size. Returns an empty array for a degenerate (zero-area) image. */ export declare function planExportTiles(width: number, height: number, limit: number): ExportTile[];