import { BaseResourceAPI, CDFHttpClient, ExternalId, MetadataMap } from '@cognite/sdk-core'; import { Unit } from '../../types'; export declare class UnitsAPI extends BaseResourceAPI { private unitSystemsApi; constructor(...args: [string, CDFHttpClient, MetadataMap]); /** * [List all supported units](https://developer.cognite.com/api#tag/Units/operation/listUnits) * * ```js * const units = await client.units.list(); * ``` */ list: () => Promise>; /** * [Retrieve one or more units](https://developer.cognite.com/api#tag/Units/operation/byIdsUnits) * * ```js * const units = await client.units.retrieve([{ externalId: 'temperature:deg_c' }, { externalId: 'pressure:bar' }]); * ``` */ retrieve: (ids: ExternalId[]) => Promise; /** * [List all supported unit systems](List all supported unit systems Promise>; }