/** * Format byte count as human-readable string. * @param {number} bytes * @returns {string} */ export function formatSize(bytes: number): string; /** * Get the ordered list of all OPFS prefixes (longest first). * @returns {string[]} */ export function getOpfsPrefixes(): string[]; /** Return the UTM zone number (1–60) for a given longitude. */ export function getUtmZone(lon: any): number; /** * Check whether a bbox fits in a single UTM zone. * @param {{ west: number, south: number, east: number, north: number }} bbox * @returns {{ zone: number, hemisphere: string } | null} null if it spans multiple zones. */ export function bboxUtmZone(bbox: { west: number; south: number; east: number; north: number; }): { zone: number; hemisphere: string; } | null; /** * Get browser storage estimate. * @returns {Promise<{ usage: number | undefined, quota: number | undefined }>} */ export function getStorageEstimate(): Promise<{ usage: number | undefined; quota: number | undefined; }>; /** * Wrap an OPFS File handle into an async buffer interface for hyparquet. * @param {File} file * @returns {{ byteLength: number, slice: (start: number, end: number) => Promise }} */ export function fileToAsyncBuffer(file: File): { byteLength: number; slice: (start: number, end: number) => Promise; }; export const OPFS_PREFIX_GPKG_TMP: any; export const OPFS_PREFIX_GPKG: any; export const OPFS_PREFIX_OUTPUT: any; export const OPFS_PREFIX_TMP: any; export const OPFS_PREFIX_SHP_TMP: any; export const OPFS_PREFIX_KML_TMP: any; export const OPFS_PREFIX_DXF_TMP: any; export const OPFS_PREFIX_TMPDIR: any;