import { HRN } from "@here/olp-sdk-core"; /** * A map type that is supported by the platform Statistics Service. */ export declare enum CoverageDataType { /** Represents the availability of data in partitions. */ BITMAP = "tilemap", /** A heatmap that represents a partition size. */ SIZEMAP = "heatmap/size", /** A heatmap that represents partition update time. */ TIMEMAP = "heatmap/age" } /** * Prepares information for calls to get statistics from the platform Statistics Service. */ export declare class StatisticsRequest { private catalogHrn?; private layerId?; private typemap?; private dataLevel?; private billingTag?; /** * Gets the configured [[HRN]] string of the catalog HERE Resource Name(HRN) for the request. * * @return The configured [[HRN]] string. */ getCatalogHrn(): string | undefined; /** * Gets a layer ID for the request. * * @return The layer ID string. */ getLayerId(): string | undefined; /** * Gets a map type that is supported by the platform Statistics Service. * * @return The requested map type. */ getTypemap(): CoverageDataType | undefined; /** * Gets a tile level for the request. * * @return The requested tile level number. */ getDataLevel(): number | undefined; /** * A setter for the provided catalog HERE Resource Name (HRN). * * @param hrn The catalog HRN. * @returns The updated [[StatisticsRequest]] instance that you can use to chain methods. */ withCatalogHrn(hrn: HRN): StatisticsRequest; /** * A setter for the requested `layerId` string. * * @param layerId The ID of the layer. * @returns The updated [[StatisticsRequest]] instance that you can use to chain methods. */ withLayerId(layerId: string): StatisticsRequest; /** * A setter for the provided `coverageDataType` string. * * @param coverageDataType Points at one of the following Statistic API endpoints: * * BITMAP – fetches a bitmap that represents the availability of data in partitions. * * SIZEMAP – fetches a heatmap that represents a partition size. * * TIMEMAP – fetches a heatmap that represents partition update time. * @returns The updated [[StatisticsRequest]] instance that you can use to chain methods. */ withTypemap(coverageDataType: CoverageDataType): StatisticsRequest; /** * A setter for the provided `dataLevel`. * * @param dataLevel By default, assets generated at deepest data level are returned. * Note that assets returned for data levels greater than 11 represent data at data level 11. * @returns The updated [[StatisticsRequest]] instance that you can use to chain methods. */ withDataLevel(dataLevel: number): StatisticsRequest; /** * An optional free-form tag that is used for grouping billing records together. * * If supplied, it must be 4–16 characters long and contain only alphanumeric ASCII characters [A-Za-z0-9]. * * @param tag The `BillingTag` string. * @return The updated [[StatisticsRequest]] instance that you can use to chain methods. */ withBillingTag(tag: string): StatisticsRequest; /** * Gets a billing tag to group billing records together. * * @return The `BillingTag` string. */ getBillingTag(): string | undefined; }