import type Mesh from "../../../geometry/Mesh.js"; import type PixelBlock from "../../../layers/support/PixelBlock.js"; import type { AbortOptions } from "../../../core/promiseUtils.js"; /** @internal */ export default interface PanoramicTileNode { /** @internal */ column: number; /** @internal */ distance: number; /** @internal */ readonly key: string; /** @internal */ loaded: boolean; /** * @param level * @param row * @param column * @param options * @internal */ getPixelBlock(level: number, row: number, column: number, options?: AbortOptions): Promise; /** @internal */ horizonAngles: [ number, number, number ]; /** @internal */ horizontalFieldOfView: number; /** @internal */ level: number; /** @internal */ pitch: number; /** @internal */ row: number; /** @internal */ verticalFieldOfView: number; /** @internal */ yaw: number; /** * Loads and constructs a mesh for the panoramic tile node. * * This method retrieves pixel data for the specified tile, converts it to image data, * computes the mesh vertex attributes and faces, and assembles a `Mesh` object. * The result is cached for subsequent calls. * * @param options - Optional abort options to cancel the operation. * @returns A promise that resolves to the constructed `Mesh` object. * @internal * @throws {EsriError} If the pixel block data for the tile is missing. * @throws {AbortError} If the operation is aborted via the provided options. */ loadMesh(options?: AbortOptions): Promise; /** * Loads or updates the mesh for the tile node at a new distance. * * @param newDistance * @param options * @internal */ loadMeshAtDistance(newDistance: number, options?: AbortOptions): Promise; }