import type { RenderOptions } from '@maplibre/maplibre-gl-native'; import type { StyleSpecification } from '@maplibre/maplibre-gl-style-spec'; import type { Cache } from '../cache/index.js'; declare function render(style: StyleSpecification, renderOptions: RenderOptions, cache: Cache, mode: 'tile' | 'static'): Promise>; declare function renderTile(style: StyleSpecification, z: number, x: number, y: number, options: { tileSize: number; cache: Cache; margin?: number; }): Promise; export { renderTile, render };