///
declare function search(keyword: string, opts: {
pageCapacity: number;
pageNum: number;
forceLocal?: boolean;
zoom: number;
}, map: BMapGL.Map): Promise<{
point: any;
}[] | undefined>;
/**
* 范围检索
* @param {string|Array} keyword - 检索关键词,支持多关键字
* @param {Object} bounds - 搜索范围 {sw: [lng, lat], ne: [lng, lat]}
* @param {Object} opts - 搜索选项
* @returns {Promise} 搜索结果
*/
declare function searchInBounds(keyword: string, bounds: {
sw: BMapGL.Point;
ne: BMapGL.Point;
}, opts: {
pageCapacity: number;
pageNum: number;
zoom: number;
}, map: BMapGL.Map): Promise<{
point: any;
}[] | null>;
/**
* 周边检索
* @param {string|Array} keyword - 检索关键词,支持多关键字
* @param {Array} center - 中心点坐标 [lng, lat]
* @param {number} radius - 检索半径(米)
* @param {Object} opts - 搜索选项
* @returns {Promise} 搜索结果
*/
declare function searchNearby(keyword: string, center: BMapGL.Point, radius: number, opts: {
pageCapacity: number;
pageNum: number;
zoom: number;
}, map: BMapGL.Map): Promise<{
point: any;
}[] | null>;
/** service 检索返回的单条 POI(API 原始字段 + point) */
export type ServicePoiItem = Record & {
name?: string;
addr?: string;
uid?: string;
geo?: string;
point?: BMapGL.Point;
tel?: string;
};
export { search, searchInBounds, searchNearby, };