import { HRN, OlpClientSettings } from "@here/olp-sdk-core"; import { QueryApi } from "@here/olp-sdk-dataservice-api"; import { PartitionsRequest, QuadTreeIndexRequest } from "@here/olp-sdk-dataservice-read"; /** * A client for the Query Service API that provides a way to get information (metadata) * about layers and partitions stored in a catalog. * This service exposes the metadata for a single partition that you can query one by one or using a parent tile. */ export declare class QueryClient { private readonly settings; private readonly apiVersion; /** * Constructs a new client for the Query Service API. * * @param settings The [[OlpClientSettings]] instance. * @return The [[QueryClient]] instance. */ constructor(settings: OlpClientSettings); /** * Fetches the quadtree index. * * @param request The configured [[QuadTreeIndexRequest]] instance. * @param abortSignal A signal object that allows you to communicate with a request (such as the `fetch` request) * and, if required, abort it using the `AbortController` object. * * For more information, see the [`AbortController` documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController). * * @return The quadtree index object. */ fetchQuadTreeIndex(request: QuadTreeIndexRequest, abortSignal?: AbortSignal): Promise; /** * Gets partitions using their IDs. * * @param request The `PartitionsRequest` instance. * @param layerId The ID of the layer from which you want to get partitions. * @param hrn The HERE Resource Name (HRN) of the layer. * @param abortSignal A signal object that allows you to communicate with a request (such as the `fetch` request) * and, if required, abort it using the `AbortController` object. * * For more information, see the [`AbortController` documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController). * * @return The requested partitions. */ getPartitionsById(request: PartitionsRequest, layerId: string, hrn: HRN, abortSignal?: AbortSignal, catalogVersion?: number): Promise; /** * Gets the latest available catalog version */ private getCatalogLatestVersion; }