import type { Coordinate } from 'ol/coordinate';
import type BaseLayer from 'ol/layer/Base';
import type { LayerGetFeatureInfoResponse } from '../../types';
/**
 * Fetches feature information at a given coordinate from the provided layers.
 * It supports WMS sources and MapLibre layers and custom layer via the method `layer.getFeatureInfoAtCoordinate`.
 *
 * @param {Coordinate} coordinate - The coordinate to query for feature information.
 * @param {ol/layer/BaseLayer~BaseLayer[]} layers - The layers to query for feature information.
 * @param {number} hitTolerance - The pixel tolerance for feature selection.
 * @param {boolean} ignoreLayerMethod - If true, it ignores the `getFeatureInfoAtCoordinate` method on layers.
 * @returns {LayerGetFeatureInfoResponse[]} A promise that resolves to an array of feature information responses.
 * @private
 */
declare const getFeatureInfoAtCoordinate: (coordinate: Coordinate, layers: BaseLayer[], hitTolerance?: number, ignoreLayerMethod?: boolean) => Promise<LayerGetFeatureInfoResponse[]>;
export default getFeatureInfoAtCoordinate;
