import { RequestScheduler } from '@loaders.gl/loader-utils'; import { TileBoundingBox, TileIndex, TileLoadProps } from "./types.js"; import type { Layer } from '@deck.gl/core'; export type TileLoadDataProps = { requestScheduler: RequestScheduler; getData: (props: TileLoadProps) => Promise; onLoad: (tile: Tile2DHeader) => void; onError: (error: any, tile: Tile2DHeader) => void; }; export declare class Tile2DHeader { index: TileIndex; isVisible: boolean; isSelected: boolean; parent: Tile2DHeader | null; children: Tile2DHeader[] | null; content: DataT | null; state?: number; layers?: Layer[] | null; id: string; zoom: number; userData?: Record; boundingBox: [min: number[], max: number[]]; private _abortController; private _loader; private _loaderId; private _isLoaded; private _isCancelled; private _needsReload; private _bbox; constructor(index: TileIndex); /** @deprecated use `boundingBox` instead */ get bbox(): TileBoundingBox; set bbox(value: TileBoundingBox); get data(): Promise | DataT | null; get isLoaded(): boolean; get isLoading(): boolean; get needsReload(): boolean; get byteLength(): number; private _loadData; loadData(opts: TileLoadDataProps): Promise; setNeedsReload(): void; abort(): void; } //# sourceMappingURL=tile-2d-header.d.ts.map