/** * @param {import("../../size.js").Size} size Canvas size in css pixels. * @param {Array} transforms Transforms * for rendering features to all worlds of the viewport, from coordinates to css * pixels. * @param {Array} features * Features to consider for hit detection. * @param {import("../../style/Style.js").StyleFunction|undefined} styleFunction * Layer style function. * @param {import("../../extent.js").Extent} extent Extent. * @param {number} resolution Resolution. * @param {number} rotation Rotation. * @return {ImageData} Hit detection image data. */ export function createHitDetectionImageData(size: import("../../size.js").Size, transforms: Array, features: Array, styleFunction: import("../../style/Style.js").StyleFunction | undefined, extent: import("../../extent.js").Extent, resolution: number, rotation: number): ImageData; /** * @param {import("../../pixel").Pixel} pixel Pixel coordinate on the hit * detection canvas in css pixels. * @param {Array} features Features. Has to * match the `features` array that was passed to `createHitDetectionImageData()`. * @param {ImageData} imageData Hit detection image data generated by * `createHitDetectionImageData()`. * @return {Array} Features. * @template {import("../../Feature.js").FeatureLike} F */ export function hitDetect(pixel: import("../../pixel").Pixel, features: F[], imageData: ImageData): F[]; export const HIT_DETECT_RESOLUTION: 0.5; //# sourceMappingURL=hitdetect.d.ts.map