/** * The parameters passed to the label placement engine * Defines the current viewport so placements can be calculated */ export type PlacementParams = { /** * The width of the viewport in pixels */ widthPx: number; /** * The height of the viewport in pixels */ heightPx: number; /** * The northeast X value of the viewport in offset 160 WGS84 (approx) * degrees. * NOTE: these should be in degrees of the map datum, not "EPSG:1" * SJ-466 is to fix */ neX: number; /** * The northeast Y value of the viewport in offset 160 WGS84 (approx) * degrees. */ neY: number; /** * The southwest X value of the viewport in offset 160 WGS84 (approx) * degrees. */ swX: number; /** * The southwest Y value of the viewport in offset 160 WGS84 (approx) * degrees. */ swY: number; }; export declare const createPlacementParams: (mapSizePixels: number[] | undefined, mapExtentMetres: number[], dataProjection: string) => { swX: number; swY: number; neX: number; neY: number; widthPx: number; heightPx: number; } | undefined;