Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dynatrace-sdk/units

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynatrace-sdk/units - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

types/packages/util/units/src/util-convert/temperature.d.ts

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Units

## 0.13.2
### Patch Changes
- formatDate() now respects user timezone.
- Improve locale detection.
- Fix bug in cascading.
- Introduce Grail-compatible expression parser.
- Add support for converting temperature units.
- Change symbol of millicore to mcore.
## 0.13.1

@@ -7,0 +18,0 @@

504

docs/DOCS.md

@@ -6,2 +6,3 @@ ---

# Units

@@ -11,15 +12,10 @@

import NpmLogo from "@site/static/img/npm-logo.png";
import NpmLogo from '@site/static/img/npm-logo.png';
<div class="row margin-bottom--md">
<div class="col">
<a href="https://www.npmjs.com/package/@dynatrace-sdk/units">
<span class="margin-right--xs">@dynatrace-sdk/units</span>
<img className="no-zoom" width="20px" src={NpmLogo} />
</a>
<a href="https://www.npmjs.com/package/@dynatrace-sdk/units" target="_blank" rel="noopener noreferrer"> <span class="margin-right--xs">@dynatrace-sdk/units</span> <img className="no-zoom" width="20px" src={NpmLogo} /> </a>
</div>
<div class="col" style={{ textAlign: "right" }}>
<a href="https://www.npmjs.com/package/@dynatrace-sdk/units/v/0.13.1">
v0.13.1
</a>
<div class="col" style={{textAlign: 'right'}}>
<a href="https://www.npmjs.com/package/@dynatrace-sdk/units/v/0.13.2" target="_blank" rel="noopener noreferrer">v0.13.2</a>
</div>

@@ -32,2 +28,3 @@ </div>

### Conversion example

@@ -41,8 +38,7 @@

convert(
1000,
convert(1000,
// units.<category>.<unit>
units.length.meter, // FromUnit
units.length.kilometer // ToUnit
); // 1
units.length.kilometer, // ToUnit
); // 1
```

@@ -54,86 +50,74 @@

### AbbreviateOptions
### AdjustFractionDigitsOptions
<!-- default child "Interface" -->
#### Properties
| Name | Type | Description |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| locale | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> &#124; Array&lt;<a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a>&gt; | The locale according to which the number will abbreviate. |
| maximumFractionDigits | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | Maximum number of decimal places. |
| minimumFractionDigits | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | Minimum number of decimal places. |
| useGrouping | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators |
| Name | Type | Description |
| --- | --- | --- |
|locale|[string](https://developer.mozilla.org/en-US/docs/Glossary/String) &#124; Array&lt;[string](https://developer.mozilla.org/en-US/docs/Glossary/String)&gt;|The locale according to which the number will be adjusted. |
|maximumFractionDigits|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Maximum number of decimal digits. |
|minimumFractionDigits|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Minimum number of decimal digits. |
|useGrouping|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators. |
### AdjustFractionDigitsOptions
<!-- default child "Interface" -->
#### Properties
| Name | Type | Description |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| locale | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> &#124; Array&lt;<a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a>&gt; | The locale according to which the number will be adjusted. |
| maximumFractionDigits | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | Maximum number of decimal places. |
| minimumFractionDigits | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | Minimum number of decimal places. |
| useGrouping | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators |
### FormatDateOptions
<!-- default child "Interface" -->
Interface that extends Intl.DateTimeFormatOptions to pass an optional property to overwrite the default locale.
See [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options).
#### Properties
| Name | Type | Description |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| calendar | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> | |
| dateStyle | "full" &#124; "long" &#124; "medium" &#124; "short" | |
| day | "numeric" &#124; "2-digit" | |
| dayPeriod | "long" &#124; "short" &#124; "narrow" | |
| era | "long" &#124; "short" &#124; "narrow" | |
| formatMatcher | "best fit" &#124; "basic" | |
| fractionalSecondDigits | 1 &#124; 2 &#124; 3 | |
| hour | "numeric" &#124; "2-digit" | |
| hour12 | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | |
| hourCycle | "h11" &#124; "h12" &#124; "h23" &#124; "h24" | |
| locale | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> &#124; Array&lt;<a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a>&gt; | The locale according to which the number will be formatted. |
| localeMatcher | "best fit" &#124; "lookup" | |
| minute | "numeric" &#124; "2-digit" | |
| month | "long" &#124; "short" &#124; "narrow" &#124; "numeric" &#124; "2-digit" | |
| numberingSystem | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> | |
| second | "numeric" &#124; "2-digit" | |
| timeStyle | "full" &#124; "long" &#124; "medium" &#124; "short" | |
| timeZone | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> | |
| timeZoneName | "long" &#124; "short" &#124; "shortOffset" &#124; "longOffset" &#124; "shortGeneric" &#124; "longGeneric" | |
| weekday | "long" &#124; "short" &#124; "narrow" | |
| year | "numeric" &#124; "2-digit" | |
| Name | Type | Description |
| --- | --- | --- |
|calendar|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)| |
|dateStyle|"long" &#124; "short" &#124; "full" &#124; "medium"| |
|day|"numeric" &#124; "2-digit"| |
|dayPeriod|"long" &#124; "short" &#124; "narrow"| |
|era|"long" &#124; "short" &#124; "narrow"| |
|formatMatcher|"best fit" &#124; "basic"| |
|fractionalSecondDigits|1 &#124; 2 &#124; 3| |
|hour|"numeric" &#124; "2-digit"| |
|hour12|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)| |
|hourCycle|"h11" &#124; "h12" &#124; "h23" &#124; "h24"| |
|locale|[string](https://developer.mozilla.org/en-US/docs/Glossary/String) &#124; Array&lt;[string](https://developer.mozilla.org/en-US/docs/Glossary/String)&gt;|The locale according to which the number will be formatted. |
|localeMatcher|"best fit" &#124; "lookup"| |
|minute|"numeric" &#124; "2-digit"| |
|month|"long" &#124; "short" &#124; "narrow" &#124; "numeric" &#124; "2-digit"| |
|numberingSystem|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)| |
|second|"numeric" &#124; "2-digit"| |
|timeStyle|"long" &#124; "short" &#124; "full" &#124; "medium"| |
|timeZone|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)| |
|timeZoneName|"long" &#124; "short" &#124; "shortOffset" &#124; "longOffset" &#124; "shortGeneric" &#124; "longGeneric"| |
|weekday|"long" &#124; "short" &#124; "narrow"| |
|year|"numeric" &#124; "2-digit"| |
### FormatOptions
<!-- default child "Interface" -->
#### Properties
| Name | Type | Description |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| abbreviate | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | <p>It will shorten the number to a shorter format. (e.g. <code>input: 1500, output: 1.5k</code>).</p> |
| cascade | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | <p>Will search for the biggest unit within its group and cascade it down the the specified dept. The last number will get rounded to <code>maximumFractionDigits</code>. (e.g. <code>format(1500, &#123; input: units.length.meter, cascade: 2}), output: &quot;1 km 500 m&quot;)</code>).</p> |
| input | FromUnit | <p>If input unit is defined, it will convert it to the best fitting unit. (e.g. <code>format(1500, &#123; input: units.length.meter }), output: &quot;1.5 km&quot;)</code>).</p> |
| locale | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> &#124; Array&lt;<a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a>&gt; | <p>The locale that will be used to format the number. By default it will use the platform locale specified by the user.</p> |
| maximumFractionDigits | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | <p>The amount of maximumFractionDigits points. See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#maximumfractiondigits">MDN</a>. If minimumFractionDigits is passed, set to minimumFractionDigits by default. Otherwise set to 0 by default.</p> |
| minimumFractionDigits | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | <p>The amount of minimumFractionDigits points. See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#minimumfractiondigits">MDN</a>.</p> |
| output | OutputUnit&lt;UndefinedCoalescing&lt;FromUnit &#124; &gt; &#124; ToUnit&gt; | <p>If not specified, the conversion is disabled (e.g. <code>format(1500), output: 1.5K</code>).</p> |
| suffix | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> | A custom suffix that overwrites the unit symbol. |
| useGrouping | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | <p>Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#usegrouping">MDN</a></p> |
| Name | Type | Description |
| --- | --- | --- |
|abbreviate|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|<p>It will shorten the number to a shorter format. (e.g. <code>input: 1500, output: 1.5k</code>).</p> |
|cascade|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|<p>Will search for the biggest unit within its group and cascade it down the the specified dept. The last number will get rounded to <code>maximumFractionDigits</code>. (e.g. <code>format(1500, &#123; input: units.length.meter, cascade: 2}), output: &quot;1 km 500 m&quot;)</code>).</p> |
|input|FromUnit|<p>If input unit is defined, it will convert it to the best fitting unit. (e.g. <code>format(1500, &#123; input: units.length.meter }), output: &quot;1.5 km&quot;)</code>).</p> |
|locale|[string](https://developer.mozilla.org/en-US/docs/Glossary/String) &#124; Array&lt;[string](https://developer.mozilla.org/en-US/docs/Glossary/String)&gt;|<p>The locale that will be used to format the number. By default it will use the platform locale specified by the user.</p> |
|maximumFractionDigits|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|<p>The amount of maximumFractionDigits points. See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#maximumfractiondigits" target="_blank" rel="noopener noreferrer" >MDN</a>. If minimumFractionDigits is passed, set to minimumFractionDigits by default. Otherwise set to 0 by default.</p> |
|minimumFractionDigits|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|<p>The amount of minimumFractionDigits points. See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#minimumfractiondigits" target="_blank" rel="noopener noreferrer" >MDN</a>.</p> |
|output|OutputUnit&lt;UndefinedCoalescing&lt;FromUnit &#124; &gt; &#124; ToUnit&gt;|<p>If not specified, the conversion is disabled (e.g. <code>format(1500), output: 1.5K</code>).</p> |
|suffix|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|A custom suffix that overwrites the unit symbol. |
|useGrouping|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|<p>Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#usegrouping" target="_blank" rel="noopener noreferrer" >MDN</a></p> |
## Variables
<div class="padding-left--md padding-bottom--md">
<strong>ExponentialDecimalLevels</strong>: Array&lt;Object&gt;
<strong>ExponentialDecimalLevels</strong>: Object
<div class="padding-left--md">
Levels of abbreviations for decimal exponents from kilo to nonillion,
Abbreviation levels for decimal metric prefixes from kilo to quecto,
10^3, 10^6, ...

@@ -143,24 +127,30 @@

</div>
<div class="padding-left--md padding-bottom--md">
<strong>ExponentialOctalBitLevels</strong>: Array&lt;Object&gt;
<strong>ExponentialOctalBitLevels</strong>: Object
<div class="padding-left--md">
Levels of abbreviation for octal bit exponents from kilobit to quebibit,
2^10, 2^20, 2^30...
Abbreviation levels for bit binary prefixes from kilobit to quebibit,
2^10, 2^20, ...
</div>
</div>
<div class="padding-left--md padding-bottom--md">
<strong>ExponentialOctalByteLevels</strong>: Array&lt;Object&gt;
<strong>ExponentialOctalByteLevels</strong>: Object
<div class="padding-left--md">
Levels of abbreviation for octal byte exponents from kibibyte to quebibyte,
2^10, 2^20, 2^30...
Abbreviation levels for byte binary prefixes from kibibyte to quebibyte,
2^10, 2^20, ...
</div>
</div>

@@ -176,2 +166,4 @@

</div>

@@ -181,58 +173,180 @@

### _cascade
<div class="padding-bottom--md">
<strong>_cascade(number,unit,depth,list?): ValueUnitList</strong>
<div class="padding-left--md">
Cascades the input to the best fitting unit, depth/precision can be adjusted
Supported base units
units.electricity.ampere,
units.electricity.volt,
units.electricity.ohm,
units.electricity.watt,
units.electricity.coulomb,
units.electricity.farad,
units.electricity.weber,
units.electricity.tesla,
units.electricity.henry,
units.electricity.siemens,
units.force.newton,
units.frequency.hertz,
units.length.meter,
units.mass.gram,
units.physics.gray,
units.physics.sievert,
units.physics.candela,
units.physics.lumen,
units.physics.lux,
units.physics.steradian,
units.pressure.pascal,
units.time.second,
units.length.meter,
units.data.byte,
units.data.bit,
units.unspecified.pixel
units.angle.degree
</div>
#### Parameters
| Name | Type |
| --- | --- |
|number<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|
|unit<sup>*required</sup>|ConvertibleUnit|
|depth<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|
|list|CascadeUnit|
</div>
### _convertTemperature
<div class="padding-bottom--md">
<strong>_convertTemperature(input,from,to): [number](https://developer.mozilla.org/en-US/docs/Glossary/Number)</strong>
<div class="padding-left--md">
</div>
#### Parameters
| Name | Type |
| --- | --- |
|input<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|
|from<sup>*required</sup>|FromUnit|
|to<sup>*required</sup>|ConvertibleTarget&lt;FromUnit &#124; ToUnit&gt;|
</div>
### abbreviateNumber
<div class="padding-bottom--md">
<strong>abbreviateNumber(input,scale,options?): Object</strong>
<strong>abbreviateNumber(input,scale,options): Object</strong>
<div class="padding-left--md">
Abbreviates large numbers to a shorter format. Example:
Abbreviate large numbers to a shorter format. Example:
```typescript
import { abbreviateNumber } from "@dynatrace-sdk/units";
abbreviateNumber(1500); // '1.5K'
import { abbreviateNumber } from '@dynatrace-sdk/units';
abbreviateNumber(1500) // '1.5K'
```
</div>
#### Parameters
| Name | Type | Description |
| -------------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| input<sup>\*required</sup> | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | Number to be abbreviated. |
| scale<sup>\*required</sup> | Array&lt;Object&gt; | <p>Scale to use for the abbreviation. Default is the decimal scale:</p> <ul> <li><code>abbreviateNumber(1_000) // '1K'</code></li> <li><code>abbreviateNumber(1_000_000) // '1M'</code></li> </ul> |
| options | <a href="#abbreviateoptions">AbbreviateOptions</a> | |
| Name | Type | Description |
| --- | --- | --- |
|input<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Number to be abbreviated. |
|scale<sup>*required</sup>|Scale|<p>Scale to use for the abbreviation. Default is the decimal scale:</p> <ul> <li><code>abbreviateNumber(1_000) // '1K'</code></li> <li><code>abbreviateNumber(1_000_000) // '1M'</code></li> </ul> |
|options<sup>*required</sup>|[AdjustFractionDigitsOptions](#adjustfractiondigitsoptions)| |
{/* no returns */}
</div>
### adjustFractionDigits
<div class="padding-bottom--md">
<strong>adjustFractionDigits(input,options?): <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a></strong>
<strong>adjustFractionDigits(input,options?): [string](https://developer.mozilla.org/en-US/docs/Glossary/String)</strong>
<div class="padding-left--md">
Adjust number of decimals.
Adjust number of fractional digits.
</div>
#### Parameters
| Name | Type | Description |
| -------------------------- | ----------------------------------------------------------------------------- | --------------------------- |
| input<sup>\*required</sup> | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | The number to be formatted. |
| options | <a href="#adjustfractiondigitsoptions">AdjustFractionDigitsOptions</a> | |
| Name | Type | Description |
| --- | --- | --- |
|input<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The number to be formatted. |
|options|[AdjustFractionDigitsOptions](#adjustfractiondigitsoptions)| |
#### Returns
A formatted number as a string.
The formatted number as a string.
</div>
### convert
<div class="padding-bottom--md">
<strong>convert(input,from,to): <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a></strong>
<strong>convert(input,from,to): [number](https://developer.mozilla.org/en-US/docs/Glossary/Number)</strong>

@@ -242,18 +356,23 @@ <div class="padding-left--md">

Converts a given number to the specified unit. Example:
```typescript
import { convert, units } from "@dynatrace-sdk/units";
convert(1500, units.length.meter, units.length.kilometer); // 1.5
convert(1500, units.length.meter, units.length.kilometer) // 1.5
```
</div>
#### Parameters
| Name | Type | Description |
| -------------------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| input<sup>\*required</sup> | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | The number that will get converted. |
| from<sup>\*required</sup> | FromUnit | The unit of the input (e.g. <code>units.length.meter</code>). |
| to<sup>\*required</sup> | ConvertibleTarget&lt;FromUnit &#124; ToUnit&gt; | The unit of the output (e.g. <code>units.length.kilometer</code>). |
| Name | Type | Description |
| --- | --- | --- |
|input<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The number that will get converted. |
|from<sup>*required</sup>|FromUnit|The unit of the input (e.g. <code>units.length.meter</code>). |
|to<sup>*required</sup>|ConvertibleTarget&lt;FromUnit &#124; ToUnit&gt;|The unit of the output (e.g. <code>units.length.kilometer</code>). |
#### Returns

@@ -263,8 +382,15 @@

</div>
### format
<div class="padding-bottom--md">
<strong>format(number,options?): <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a></strong>
<strong>format(number,options?): [string](https://developer.mozilla.org/en-US/docs/Glossary/String)</strong>

@@ -275,11 +401,17 @@ <div class="padding-left--md">

</div>
#### Parameters
| Name | Type | Description |
| --------------------------- | ----------------------------------------------------------------------------- | ----------------------------------- |
| number<sup>\*required</sup> | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | The number that will get formatted. |
| options | <a href="#formatoptions">FormatOptions</a>&lt;FromUnit &#124; ToUnit&gt; | Formatting options. |
| Name | Type | Description |
| --- | --- | --- |
|number<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The number that will get formatted. |
|options|[FormatOptions](#formatoptions)&lt;FromUnit &#124; ToUnit&gt;|Formatting options. |
#### Returns

@@ -289,8 +421,15 @@

</div>
### formatDate
<div class="padding-bottom--md">
<strong>formatDate(input,options?): <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a></strong>
<strong>formatDate(input,options?): [string](https://developer.mozilla.org/en-US/docs/Glossary/String)</strong>

@@ -301,11 +440,17 @@ <div class="padding-left--md">

</div>
#### Parameters
| Name | Type | Description |
| -------------------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| input<sup>\*required</sup> | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> &#124; Date | Number of milliseconds since UNIX epoch or a Javascript Date. |
| options | <a href="#formatdateoptions">FormatDateOptions</a> | An object that contains one or more properties that specify comparison options. |
| Name | Type | Description |
| --- | --- | --- |
|input<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number) &#124; Date|Number of milliseconds since UNIX epoch or a Javascript Date. |
|options|[FormatDateOptions](#formatdateoptions)|An object that contains one or more properties that specify comparison options. |
#### Returns

@@ -315,8 +460,15 @@

</div>
### formatUnit
<div class="padding-bottom--md">
<strong>formatUnit(unit): <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a></strong>
<strong>formatUnit(unit): [string](https://developer.mozilla.org/en-US/docs/Glossary/String)</strong>

@@ -327,14 +479,25 @@ <div class="padding-left--md">

</div>
#### Parameters
| Name | Type |
| ------------------------- | --------------- |
| unit<sup>\*required</sup> | FormattableUnit |
| Name | Type |
| --- | --- |
|unit<sup>*required</sup>|FormattableUnit|
{/* no returns */}
</div>
### getFormatting

@@ -349,11 +512,17 @@

</div>
#### Parameters
| Name | Type | Description |
| --------------------------- | ----------------------------------------------------------------------------- | ----------------------------------- |
| number<sup>\*required</sup> | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | The number that will get formatted. |
| options | <a href="#formatoptions">FormatOptions</a>&lt;FromUnit &#124; ToUnit&gt; | Formatting options. |
| Name | Type | Description |
| --- | --- | --- |
|number<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The number that will get formatted. |
|options|[FormatOptions](#formatoptions)&lt;FromUnit &#124; ToUnit&gt;|Formatting options. |
#### Returns

@@ -363,4 +532,11 @@

</div>
### parseTime

@@ -379,15 +555,26 @@

</div>
#### Parameters
| Name | Type |
| --------------------------------- | ----------------------------------------------------------------------------------------- |
| candidate | null &#124; <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> |
| relativeDate<sup>\*required</sup> | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> |
| Name | Type |
| --- | --- |
|candidate|null &#124; [string](https://developer.mozilla.org/en-US/docs/Glossary/String)|
|relativeDate<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|
{/* no returns */}
</div>
### variantNames

@@ -402,14 +589,25 @@

</div>
#### Parameters
| Name | Type |
| ------------------------- | ---- |
| unit<sup>\*required</sup> | U |
| Name | Type |
| --- | --- |
|unit<sup>*required</sup>|U|
{/* no returns */}
</div>
### variantUnits

@@ -424,24 +622,33 @@

</div>
#### Parameters
| Name | Type |
| ------------------------- | ---- |
| unit<sup>\*required</sup> | U |
| Name | Type |
| --- | --- |
|unit<sup>*required</sup>|U|
{/* no returns */}
</div>
### ConvertibleUnit
<div class="padding-bottom--md">
All supported convertible units. For more details see a{" "}
<a href="#conversion-example">conversion example</a>.
All supported convertible units. For more details see a <a href="#conversion-example">conversion example</a>.
</div>
```typescript
import { units } from "@dynatrace-sdk/units";
units.length.meter; // extends ConvertibleUnit
import { units } from '@dynatrace-sdk/units';
units.length.meter // extends ConvertibleUnit
```

@@ -452,4 +659,3 @@

<div class="padding-bottom--md">
A type for every <a href="#convertibleunit">convertible unit</a>. For more
details see a <a href="#conversion-example">conversion example</a>.
A type for every <a href="#convertibleunit">convertible unit</a>. For more details see a <a href="#conversion-example">conversion example</a>.
</div>

@@ -460,4 +666,3 @@

<div class="padding-bottom--md">
All units to which the `FromUnit` can be converted. For more details see a{" "}
<a href="#conversion-example">conversion example</a>.
All units to which the `FromUnit` can be converted. For more details see a <a href="#conversion-example">conversion example</a>.
</div>

@@ -467,11 +672,12 @@

<div class="padding-bottom--md">A unit that can be formatted. Example:</div>
<div class="padding-bottom--md">
A unit that can be formatted. Example:
</div>
```typescript
import { units } from "@dynatrace-sdk/units";
units.currency.eur; // extends FormattableUnit
import { units } from '@dynatrace-sdk/units';
units.currency.eur // extends FormattableUnit
```
### Unit
<div class="padding-bottom--md">

@@ -478,0 +684,0 @@ A ConvertibleUnit or a FormattableUnit or both.

{
"name": "@dynatrace-sdk/units",
"version": "0.13.1",
"version": "0.13.2",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "description": "Package for converting and formatting units and numerical values.",

@@ -5,5 +5,7 @@ export { getFormatting, format, formatDate, formatUnit, FormatDateOptions, FormatOptions, } from './util-format/format';

export { units } from './util-units/index';
export { ExponentialDecimalLevels, ExponentialOctalBitLevels, ExponentialOctalByteLevels, AbbreviateOptions, abbreviateNumber, } from './util-format/abbreviate-number';
export { adjustFractionDigits, AdjustFractionDigitsOptions, } from './util-format/adjust-maximum-fraction-digits';
export { ExponentialDecimalLevels, ExponentialOctalBitLevels, ExponentialOctalByteLevels, abbreviateNumber, } from './util-format/abbreviate-number';
export { adjustFractionDigits, AdjustFractionDigitsOptions, AdjustFractionDigitsOptions as AbbreviateOptions, } from './util-format/adjust-maximum-fraction-digits';
export { ConvertibleUnit, FormattableUnit, Unit } from './util-convert/types';
export { parseTime } from './util-format/timeParser';
export { parseTime } from './util-format/time-Parser';
export { convertTemperature as _convertTemperature } from './util-convert/temperature';
export { cascade as _cascade } from './util-convert/cascade';
import { ConvertibleUnit, Convertible, ValueUnitList } from './types';
declare type CascadeUnit = ((exponent: number) => ConvertibleUnit)[];
type CascadeUnit = ((exponent: number) => ConvertibleUnit)[];
/**

@@ -4,0 +4,0 @@ * Adds a group (unit) to the cascade list

@@ -17,2 +17,6 @@ export declare const properties: {

readonly second: import("./types").UnitProperties<"time">;
readonly degree_fahrenheit: import("./types").UnitProperties<"temperature">;
readonly degree_celsius: import("./types").UnitProperties<"temperature">;
readonly degree_rankine: import("./types").UnitProperties<"temperature">;
readonly kelvin: import("./types").UnitProperties<"temperature">;
readonly steradian: import("./types").UnitProperties<"solid_angle">;

@@ -19,0 +23,0 @@ readonly lux: import("./types").UnitProperties<"illuminance">;

@@ -148,523 +148,523 @@ import { Mode } from './types';

readonly one: Readonly<{
readonly 0: import("./types").UnitConfigT<"">;
readonly '0': import("./types").UnitConfigT<"">;
}>;
readonly mole: Readonly<{
readonly 0: import("./types").UnitConfigT<"mol">;
readonly '0': import("./types").UnitConfigT<"mol">;
}>;
readonly radian: Readonly<{
0: import("./types").UnitConfigT<"rad">;
[-3]: import("./types").UnitConfigT<"mrad">;
'0': import("./types").UnitConfigT<"rad">;
'-3': import("./types").UnitConfigT<"mrad">;
}>;
readonly degree: Readonly<{
readonly 0: import("./types").UnitConfigT<"°">;
readonly [-1]: import("./types").UnitConfigT<"′">;
readonly [-2]: import("./types").UnitConfigT<"″">;
readonly '0': import("./types").UnitConfigT<"°">;
readonly '-1': import("./types").UnitConfigT<"′">;
readonly '-2': import("./types").UnitConfigT<"″">;
}>;
readonly revolution: Readonly<{
readonly 0: import("./types").UnitConfigT<"r">;
readonly '0': import("./types").UnitConfigT<"r">;
}>;
readonly usd: Readonly<{
readonly 0: import("./types").UnitConfigT<"US$">;
readonly '0': import("./types").UnitConfigT<"US$">;
}>;
readonly eur: Readonly<{
readonly 0: import("./types").UnitConfigT<"€">;
readonly '0': import("./types").UnitConfigT<"€">;
}>;
readonly jpy: Readonly<{
readonly 0: import("./types").UnitConfigT<"¥">;
readonly '0': import("./types").UnitConfigT<"¥">;
}>;
readonly gbp: Readonly<{
readonly 0: import("./types").UnitConfigT<"£">;
readonly '0': import("./types").UnitConfigT<"£">;
}>;
readonly aud: Readonly<{
readonly 0: import("./types").UnitConfigT<"A$">;
readonly '0': import("./types").UnitConfigT<"A$">;
}>;
readonly cad: Readonly<{
readonly 0: import("./types").UnitConfigT<"C$">;
readonly '0': import("./types").UnitConfigT<"C$">;
}>;
readonly nzd: Readonly<{
readonly 0: import("./types").UnitConfigT<"NZ$">;
readonly '0': import("./types").UnitConfigT<"NZ$">;
}>;
readonly chf: Readonly<{
readonly 0: import("./types").UnitConfigT<"CHF">;
readonly '0': import("./types").UnitConfigT<"CHF">;
}>;
readonly cny: Readonly<{
readonly 0: import("./types").UnitConfigT<"元">;
readonly '0': import("./types").UnitConfigT<"元">;
}>;
readonly bit_m: Readonly<{
readonly 0: import("./types").UnitConfigT<"bit">;
readonly 1: import("./types").UnitConfigT<"kbit">;
readonly 2: import("./types").UnitConfigT<"Mbit">;
readonly 3: import("./types").UnitConfigT<"Gbit">;
readonly 4: import("./types").UnitConfigT<"Tbit">;
readonly 5: import("./types").UnitConfigT<"Pbit">;
readonly 6: import("./types").UnitConfigT<"Ebit">;
readonly 7: import("./types").UnitConfigT<"Zbit">;
readonly 8: import("./types").UnitConfigT<"Ybit">;
readonly 9: import("./types").UnitConfigT<"Rbit">;
readonly 10: import("./types").UnitConfigT<"Qbit">;
readonly '0': import("./types").UnitConfigT<"bit">;
readonly '1': import("./types").UnitConfigT<"kbit">;
readonly '2': import("./types").UnitConfigT<"Mbit">;
readonly '3': import("./types").UnitConfigT<"Gbit">;
readonly '4': import("./types").UnitConfigT<"Tbit">;
readonly '5': import("./types").UnitConfigT<"Pbit">;
readonly '6': import("./types").UnitConfigT<"Ebit">;
readonly '7': import("./types").UnitConfigT<"Zbit">;
readonly '8': import("./types").UnitConfigT<"Ybit">;
readonly '9': import("./types").UnitConfigT<"Rbit">;
readonly '10': import("./types").UnitConfigT<"Qbit">;
}>;
readonly bit_b: Readonly<{
readonly 0: import("./types").UnitConfigT<"bit">;
readonly 1: import("./types").UnitConfigT<"Kibit">;
readonly 2: import("./types").UnitConfigT<"Mibit">;
readonly 3: import("./types").UnitConfigT<"Gibit">;
readonly 4: import("./types").UnitConfigT<"Tibit">;
readonly 5: import("./types").UnitConfigT<"Pibit">;
readonly 6: import("./types").UnitConfigT<"Eibit">;
readonly 7: import("./types").UnitConfigT<"Zibit">;
readonly 8: import("./types").UnitConfigT<"Yibit">;
readonly 9: import("./types").UnitConfigT<"Ribit">;
readonly 10: import("./types").UnitConfigT<"Qibit">;
readonly '0': import("./types").UnitConfigT<"bit">;
readonly '1': import("./types").UnitConfigT<"Kibit">;
readonly '2': import("./types").UnitConfigT<"Mibit">;
readonly '3': import("./types").UnitConfigT<"Gibit">;
readonly '4': import("./types").UnitConfigT<"Tibit">;
readonly '5': import("./types").UnitConfigT<"Pibit">;
readonly '6': import("./types").UnitConfigT<"Eibit">;
readonly '7': import("./types").UnitConfigT<"Zibit">;
readonly '8': import("./types").UnitConfigT<"Yibit">;
readonly '9': import("./types").UnitConfigT<"Ribit">;
readonly '10': import("./types").UnitConfigT<"Qibit">;
}>;
readonly byte_m: Readonly<{
readonly 0: import("./types").UnitConfigT<"B">;
readonly 1: import("./types").UnitConfigT<"kB">;
readonly 2: import("./types").UnitConfigT<"MB">;
readonly 3: import("./types").UnitConfigT<"GB">;
readonly 4: import("./types").UnitConfigT<"TB">;
readonly 5: import("./types").UnitConfigT<"PB">;
readonly 6: import("./types").UnitConfigT<"EB">;
readonly 7: import("./types").UnitConfigT<"ZB">;
readonly 8: import("./types").UnitConfigT<"YB">;
readonly 9: import("./types").UnitConfigT<"RB">;
readonly 10: import("./types").UnitConfigT<"QB">;
readonly '0': import("./types").UnitConfigT<"B">;
readonly '1': import("./types").UnitConfigT<"kB">;
readonly '2': import("./types").UnitConfigT<"MB">;
readonly '3': import("./types").UnitConfigT<"GB">;
readonly '4': import("./types").UnitConfigT<"TB">;
readonly '5': import("./types").UnitConfigT<"PB">;
readonly '6': import("./types").UnitConfigT<"EB">;
readonly '7': import("./types").UnitConfigT<"ZB">;
readonly '8': import("./types").UnitConfigT<"YB">;
readonly '9': import("./types").UnitConfigT<"RB">;
readonly '10': import("./types").UnitConfigT<"QB">;
}>;
readonly byte_b: Readonly<{
readonly 0: import("./types").UnitConfigT<"B">;
readonly 1: import("./types").UnitConfigT<"KiB">;
readonly 2: import("./types").UnitConfigT<"MiB">;
readonly 3: import("./types").UnitConfigT<"GiB">;
readonly 4: import("./types").UnitConfigT<"TiB">;
readonly 5: import("./types").UnitConfigT<"PiB">;
readonly 6: import("./types").UnitConfigT<"EiB">;
readonly 7: import("./types").UnitConfigT<"ZiB">;
readonly 8: import("./types").UnitConfigT<"YiB">;
readonly 9: import("./types").UnitConfigT<"RiB">;
readonly 10: import("./types").UnitConfigT<"QiB">;
readonly '0': import("./types").UnitConfigT<"B">;
readonly '1': import("./types").UnitConfigT<"KiB">;
readonly '2': import("./types").UnitConfigT<"MiB">;
readonly '3': import("./types").UnitConfigT<"GiB">;
readonly '4': import("./types").UnitConfigT<"TiB">;
readonly '5': import("./types").UnitConfigT<"PiB">;
readonly '6': import("./types").UnitConfigT<"EiB">;
readonly '7': import("./types").UnitConfigT<"ZiB">;
readonly '8': import("./types").UnitConfigT<"YiB">;
readonly '9': import("./types").UnitConfigT<"RiB">;
readonly '10': import("./types").UnitConfigT<"QiB">;
}>;
readonly ampere: Readonly<{
readonly 30: import("./types").UnitConfigT<"QA">;
readonly 27: import("./types").UnitConfigT<"RA">;
readonly 24: import("./types").UnitConfigT<"YA">;
readonly 21: import("./types").UnitConfigT<"ZA">;
readonly 18: import("./types").UnitConfigT<"EA">;
readonly 15: import("./types").UnitConfigT<"PA">;
readonly 12: import("./types").UnitConfigT<"TA">;
readonly 9: import("./types").UnitConfigT<"GA">;
readonly 6: import("./types").UnitConfigT<"MA">;
readonly 3: import("./types").UnitConfigT<"kA">;
readonly 2: import("./types").UnitConfigT<"hA">;
readonly 1: import("./types").UnitConfigT<"daA">;
readonly 0: import("./types").UnitConfigT<"A">;
readonly [-1]: import("./types").UnitConfigT<"dA">;
readonly [-2]: import("./types").UnitConfigT<"cA">;
readonly [-3]: import("./types").UnitConfigT<"mA">;
readonly [-6]: import("./types").UnitConfigT<"µA">;
readonly [-9]: import("./types").UnitConfigT<"nA">;
readonly [-12]: import("./types").UnitConfigT<"pA">;
readonly [-15]: import("./types").UnitConfigT<"fA">;
readonly [-18]: import("./types").UnitConfigT<"aA">;
readonly [-21]: import("./types").UnitConfigT<"zA">;
readonly [-24]: import("./types").UnitConfigT<"yA">;
readonly [-27]: import("./types").UnitConfigT<"rA">;
readonly [-30]: import("./types").UnitConfigT<"qA">;
readonly '30': import("./types").UnitConfigT<"QA">;
readonly '27': import("./types").UnitConfigT<"RA">;
readonly '24': import("./types").UnitConfigT<"YA">;
readonly '21': import("./types").UnitConfigT<"ZA">;
readonly '18': import("./types").UnitConfigT<"EA">;
readonly '15': import("./types").UnitConfigT<"PA">;
readonly '12': import("./types").UnitConfigT<"TA">;
readonly '9': import("./types").UnitConfigT<"GA">;
readonly '6': import("./types").UnitConfigT<"MA">;
readonly '3': import("./types").UnitConfigT<"kA">;
readonly '2': import("./types").UnitConfigT<"hA">;
readonly '1': import("./types").UnitConfigT<"daA">;
readonly '0': import("./types").UnitConfigT<"A">;
readonly '-1': import("./types").UnitConfigT<"dA">;
readonly '-2': import("./types").UnitConfigT<"cA">;
readonly '-3': import("./types").UnitConfigT<"mA">;
readonly '-6': import("./types").UnitConfigT<"µA">;
readonly '-9': import("./types").UnitConfigT<"nA">;
readonly '-12': import("./types").UnitConfigT<"pA">;
readonly '-15': import("./types").UnitConfigT<"fA">;
readonly '-18': import("./types").UnitConfigT<"aA">;
readonly '-21': import("./types").UnitConfigT<"zA">;
readonly '-24': import("./types").UnitConfigT<"yA">;
readonly '-27': import("./types").UnitConfigT<"rA">;
readonly '-30': import("./types").UnitConfigT<"qA">;
}>;
readonly volt: Readonly<{
readonly 30: import("./types").UnitConfigT<"QV">;
readonly 27: import("./types").UnitConfigT<"RV">;
readonly 24: import("./types").UnitConfigT<"YV">;
readonly 21: import("./types").UnitConfigT<"ZV">;
readonly 18: import("./types").UnitConfigT<"EV">;
readonly 15: import("./types").UnitConfigT<"PV">;
readonly 12: import("./types").UnitConfigT<"TV">;
readonly 9: import("./types").UnitConfigT<"GV">;
readonly 6: import("./types").UnitConfigT<"MV">;
readonly 3: import("./types").UnitConfigT<"kV">;
readonly 2: import("./types").UnitConfigT<"hV">;
readonly 1: import("./types").UnitConfigT<"daV">;
readonly 0: import("./types").UnitConfigT<"V">;
readonly [-1]: import("./types").UnitConfigT<"dV">;
readonly [-2]: import("./types").UnitConfigT<"cV">;
readonly [-3]: import("./types").UnitConfigT<"mV">;
readonly [-6]: import("./types").UnitConfigT<"µV">;
readonly [-9]: import("./types").UnitConfigT<"nV">;
readonly [-12]: import("./types").UnitConfigT<"pV">;
readonly [-15]: import("./types").UnitConfigT<"fV">;
readonly [-18]: import("./types").UnitConfigT<"aV">;
readonly [-21]: import("./types").UnitConfigT<"zV">;
readonly [-24]: import("./types").UnitConfigT<"yV">;
readonly [-27]: import("./types").UnitConfigT<"rV">;
readonly [-30]: import("./types").UnitConfigT<"qV">;
readonly '30': import("./types").UnitConfigT<"QV">;
readonly '27': import("./types").UnitConfigT<"RV">;
readonly '24': import("./types").UnitConfigT<"YV">;
readonly '21': import("./types").UnitConfigT<"ZV">;
readonly '18': import("./types").UnitConfigT<"EV">;
readonly '15': import("./types").UnitConfigT<"PV">;
readonly '12': import("./types").UnitConfigT<"TV">;
readonly '9': import("./types").UnitConfigT<"GV">;
readonly '6': import("./types").UnitConfigT<"MV">;
readonly '3': import("./types").UnitConfigT<"kV">;
readonly '2': import("./types").UnitConfigT<"hV">;
readonly '1': import("./types").UnitConfigT<"daV">;
readonly '0': import("./types").UnitConfigT<"V">;
readonly '-1': import("./types").UnitConfigT<"dV">;
readonly '-2': import("./types").UnitConfigT<"cV">;
readonly '-3': import("./types").UnitConfigT<"mV">;
readonly '-6': import("./types").UnitConfigT<"µV">;
readonly '-9': import("./types").UnitConfigT<"nV">;
readonly '-12': import("./types").UnitConfigT<"pV">;
readonly '-15': import("./types").UnitConfigT<"fV">;
readonly '-18': import("./types").UnitConfigT<"aV">;
readonly '-21': import("./types").UnitConfigT<"zV">;
readonly '-24': import("./types").UnitConfigT<"yV">;
readonly '-27': import("./types").UnitConfigT<"rV">;
readonly '-30': import("./types").UnitConfigT<"qV">;
}>;
readonly ohm: Readonly<{
readonly 30: import("./types").UnitConfigT<"QΩ">;
readonly 27: import("./types").UnitConfigT<"RΩ">;
readonly 24: import("./types").UnitConfigT<"YΩ">;
readonly 21: import("./types").UnitConfigT<"ZΩ">;
readonly 18: import("./types").UnitConfigT<"EΩ">;
readonly 15: import("./types").UnitConfigT<"PΩ">;
readonly 12: import("./types").UnitConfigT<"TΩ">;
readonly 9: import("./types").UnitConfigT<"GΩ">;
readonly 6: import("./types").UnitConfigT<"MΩ">;
readonly 3: import("./types").UnitConfigT<"kΩ">;
readonly 2: import("./types").UnitConfigT<"hΩ">;
readonly 1: import("./types").UnitConfigT<"daΩ">;
readonly 0: import("./types").UnitConfigT<"Ω">;
readonly [-1]: import("./types").UnitConfigT<"dΩ">;
readonly [-2]: import("./types").UnitConfigT<"cΩ">;
readonly [-3]: import("./types").UnitConfigT<"mΩ">;
readonly [-6]: import("./types").UnitConfigT<"µΩ">;
readonly [-9]: import("./types").UnitConfigT<"nΩ">;
readonly [-12]: import("./types").UnitConfigT<"pΩ">;
readonly [-15]: import("./types").UnitConfigT<"fΩ">;
readonly [-18]: import("./types").UnitConfigT<"aΩ">;
readonly [-21]: import("./types").UnitConfigT<"zΩ">;
readonly [-24]: import("./types").UnitConfigT<"yΩ">;
readonly [-27]: import("./types").UnitConfigT<"rΩ">;
readonly [-30]: import("./types").UnitConfigT<"qΩ">;
readonly '30': import("./types").UnitConfigT<"QΩ">;
readonly '27': import("./types").UnitConfigT<"RΩ">;
readonly '24': import("./types").UnitConfigT<"YΩ">;
readonly '21': import("./types").UnitConfigT<"ZΩ">;
readonly '18': import("./types").UnitConfigT<"EΩ">;
readonly '15': import("./types").UnitConfigT<"PΩ">;
readonly '12': import("./types").UnitConfigT<"TΩ">;
readonly '9': import("./types").UnitConfigT<"GΩ">;
readonly '6': import("./types").UnitConfigT<"MΩ">;
readonly '3': import("./types").UnitConfigT<"kΩ">;
readonly '2': import("./types").UnitConfigT<"hΩ">;
readonly '1': import("./types").UnitConfigT<"daΩ">;
readonly '0': import("./types").UnitConfigT<"Ω">;
readonly '-1': import("./types").UnitConfigT<"dΩ">;
readonly '-2': import("./types").UnitConfigT<"cΩ">;
readonly '-3': import("./types").UnitConfigT<"mΩ">;
readonly '-6': import("./types").UnitConfigT<"µΩ">;
readonly '-9': import("./types").UnitConfigT<"nΩ">;
readonly '-12': import("./types").UnitConfigT<"pΩ">;
readonly '-15': import("./types").UnitConfigT<"fΩ">;
readonly '-18': import("./types").UnitConfigT<"aΩ">;
readonly '-21': import("./types").UnitConfigT<"zΩ">;
readonly '-24': import("./types").UnitConfigT<"yΩ">;
readonly '-27': import("./types").UnitConfigT<"rΩ">;
readonly '-30': import("./types").UnitConfigT<"qΩ">;
}>;
readonly watt: Readonly<{
readonly 30: import("./types").UnitConfigT<"QW">;
readonly 27: import("./types").UnitConfigT<"RW">;
readonly 24: import("./types").UnitConfigT<"YW">;
readonly 21: import("./types").UnitConfigT<"ZW">;
readonly 18: import("./types").UnitConfigT<"EW">;
readonly 15: import("./types").UnitConfigT<"PW">;
readonly 12: import("./types").UnitConfigT<"TW">;
readonly 9: import("./types").UnitConfigT<"GW">;
readonly 6: import("./types").UnitConfigT<"MW">;
readonly 3: import("./types").UnitConfigT<"kW">;
readonly 2: import("./types").UnitConfigT<"hW">;
readonly 1: import("./types").UnitConfigT<"daW">;
readonly 0: import("./types").UnitConfigT<"W">;
readonly [-1]: import("./types").UnitConfigT<"dW">;
readonly [-2]: import("./types").UnitConfigT<"cW">;
readonly [-3]: import("./types").UnitConfigT<"mW">;
readonly [-6]: import("./types").UnitConfigT<"µW">;
readonly [-9]: import("./types").UnitConfigT<"nW">;
readonly [-12]: import("./types").UnitConfigT<"pW">;
readonly [-15]: import("./types").UnitConfigT<"fW">;
readonly [-18]: import("./types").UnitConfigT<"aW">;
readonly [-21]: import("./types").UnitConfigT<"zW">;
readonly [-24]: import("./types").UnitConfigT<"yW">;
readonly [-27]: import("./types").UnitConfigT<"rW">;
readonly [-30]: import("./types").UnitConfigT<"qW">;
readonly '30': import("./types").UnitConfigT<"QW">;
readonly '27': import("./types").UnitConfigT<"RW">;
readonly '24': import("./types").UnitConfigT<"YW">;
readonly '21': import("./types").UnitConfigT<"ZW">;
readonly '18': import("./types").UnitConfigT<"EW">;
readonly '15': import("./types").UnitConfigT<"PW">;
readonly '12': import("./types").UnitConfigT<"TW">;
readonly '9': import("./types").UnitConfigT<"GW">;
readonly '6': import("./types").UnitConfigT<"MW">;
readonly '3': import("./types").UnitConfigT<"kW">;
readonly '2': import("./types").UnitConfigT<"hW">;
readonly '1': import("./types").UnitConfigT<"daW">;
readonly '0': import("./types").UnitConfigT<"W">;
readonly '-1': import("./types").UnitConfigT<"dW">;
readonly '-2': import("./types").UnitConfigT<"cW">;
readonly '-3': import("./types").UnitConfigT<"mW">;
readonly '-6': import("./types").UnitConfigT<"µW">;
readonly '-9': import("./types").UnitConfigT<"nW">;
readonly '-12': import("./types").UnitConfigT<"pW">;
readonly '-15': import("./types").UnitConfigT<"fW">;
readonly '-18': import("./types").UnitConfigT<"aW">;
readonly '-21': import("./types").UnitConfigT<"zW">;
readonly '-24': import("./types").UnitConfigT<"yW">;
readonly '-27': import("./types").UnitConfigT<"rW">;
readonly '-30': import("./types").UnitConfigT<"qW">;
}>;
readonly coulomb: Readonly<{
readonly 30: import("./types").UnitConfigT<"QC">;
readonly 27: import("./types").UnitConfigT<"RC">;
readonly 24: import("./types").UnitConfigT<"YC">;
readonly 21: import("./types").UnitConfigT<"ZC">;
readonly 18: import("./types").UnitConfigT<"EC">;
readonly 15: import("./types").UnitConfigT<"PC">;
readonly 12: import("./types").UnitConfigT<"TC">;
readonly 9: import("./types").UnitConfigT<"GC">;
readonly 6: import("./types").UnitConfigT<"MC">;
readonly 3: import("./types").UnitConfigT<"kC">;
readonly 2: import("./types").UnitConfigT<"hC">;
readonly 1: import("./types").UnitConfigT<"daC">;
readonly 0: import("./types").UnitConfigT<"C">;
readonly [-1]: import("./types").UnitConfigT<"dC">;
readonly [-2]: import("./types").UnitConfigT<"cC">;
readonly [-3]: import("./types").UnitConfigT<"mC">;
readonly [-6]: import("./types").UnitConfigT<"µC">;
readonly [-9]: import("./types").UnitConfigT<"nC">;
readonly [-12]: import("./types").UnitConfigT<"pC">;
readonly [-15]: import("./types").UnitConfigT<"fC">;
readonly [-18]: import("./types").UnitConfigT<"aC">;
readonly [-21]: import("./types").UnitConfigT<"zC">;
readonly [-24]: import("./types").UnitConfigT<"yC">;
readonly [-27]: import("./types").UnitConfigT<"rC">;
readonly [-30]: import("./types").UnitConfigT<"qC">;
readonly '30': import("./types").UnitConfigT<"QC">;
readonly '27': import("./types").UnitConfigT<"RC">;
readonly '24': import("./types").UnitConfigT<"YC">;
readonly '21': import("./types").UnitConfigT<"ZC">;
readonly '18': import("./types").UnitConfigT<"EC">;
readonly '15': import("./types").UnitConfigT<"PC">;
readonly '12': import("./types").UnitConfigT<"TC">;
readonly '9': import("./types").UnitConfigT<"GC">;
readonly '6': import("./types").UnitConfigT<"MC">;
readonly '3': import("./types").UnitConfigT<"kC">;
readonly '2': import("./types").UnitConfigT<"hC">;
readonly '1': import("./types").UnitConfigT<"daC">;
readonly '0': import("./types").UnitConfigT<"C">;
readonly '-1': import("./types").UnitConfigT<"dC">;
readonly '-2': import("./types").UnitConfigT<"cC">;
readonly '-3': import("./types").UnitConfigT<"mC">;
readonly '-6': import("./types").UnitConfigT<"µC">;
readonly '-9': import("./types").UnitConfigT<"nC">;
readonly '-12': import("./types").UnitConfigT<"pC">;
readonly '-15': import("./types").UnitConfigT<"fC">;
readonly '-18': import("./types").UnitConfigT<"aC">;
readonly '-21': import("./types").UnitConfigT<"zC">;
readonly '-24': import("./types").UnitConfigT<"yC">;
readonly '-27': import("./types").UnitConfigT<"rC">;
readonly '-30': import("./types").UnitConfigT<"qC">;
}>;
readonly farad: Readonly<{
readonly 30: import("./types").UnitConfigT<"QF">;
readonly 27: import("./types").UnitConfigT<"RF">;
readonly 24: import("./types").UnitConfigT<"YF">;
readonly 21: import("./types").UnitConfigT<"ZF">;
readonly 18: import("./types").UnitConfigT<"EF">;
readonly 15: import("./types").UnitConfigT<"PF">;
readonly 12: import("./types").UnitConfigT<"TF">;
readonly 9: import("./types").UnitConfigT<"GF">;
readonly 6: import("./types").UnitConfigT<"MF">;
readonly 3: import("./types").UnitConfigT<"kF">;
readonly 2: import("./types").UnitConfigT<"hF">;
readonly 1: import("./types").UnitConfigT<"daF">;
readonly 0: import("./types").UnitConfigT<"F">;
readonly [-1]: import("./types").UnitConfigT<"dF">;
readonly [-2]: import("./types").UnitConfigT<"cF">;
readonly [-3]: import("./types").UnitConfigT<"mF">;
readonly [-6]: import("./types").UnitConfigT<"µF">;
readonly [-9]: import("./types").UnitConfigT<"nF">;
readonly [-12]: import("./types").UnitConfigT<"pF">;
readonly [-15]: import("./types").UnitConfigT<"fF">;
readonly [-18]: import("./types").UnitConfigT<"aF">;
readonly [-21]: import("./types").UnitConfigT<"zF">;
readonly [-24]: import("./types").UnitConfigT<"yF">;
readonly [-27]: import("./types").UnitConfigT<"rF">;
readonly [-30]: import("./types").UnitConfigT<"qF">;
readonly '30': import("./types").UnitConfigT<"QF">;
readonly '27': import("./types").UnitConfigT<"RF">;
readonly '24': import("./types").UnitConfigT<"YF">;
readonly '21': import("./types").UnitConfigT<"ZF">;
readonly '18': import("./types").UnitConfigT<"EF">;
readonly '15': import("./types").UnitConfigT<"PF">;
readonly '12': import("./types").UnitConfigT<"TF">;
readonly '9': import("./types").UnitConfigT<"GF">;
readonly '6': import("./types").UnitConfigT<"MF">;
readonly '3': import("./types").UnitConfigT<"kF">;
readonly '2': import("./types").UnitConfigT<"hF">;
readonly '1': import("./types").UnitConfigT<"daF">;
readonly '0': import("./types").UnitConfigT<"F">;
readonly '-1': import("./types").UnitConfigT<"dF">;
readonly '-2': import("./types").UnitConfigT<"cF">;
readonly '-3': import("./types").UnitConfigT<"mF">;
readonly '-6': import("./types").UnitConfigT<"µF">;
readonly '-9': import("./types").UnitConfigT<"nF">;
readonly '-12': import("./types").UnitConfigT<"pF">;
readonly '-15': import("./types").UnitConfigT<"fF">;
readonly '-18': import("./types").UnitConfigT<"aF">;
readonly '-21': import("./types").UnitConfigT<"zF">;
readonly '-24': import("./types").UnitConfigT<"yF">;
readonly '-27': import("./types").UnitConfigT<"rF">;
readonly '-30': import("./types").UnitConfigT<"qF">;
}>;
readonly weber: Readonly<{
readonly 30: import("./types").UnitConfigT<"QWb">;
readonly 27: import("./types").UnitConfigT<"RWb">;
readonly 24: import("./types").UnitConfigT<"YWb">;
readonly 21: import("./types").UnitConfigT<"ZWb">;
readonly 18: import("./types").UnitConfigT<"EWb">;
readonly 15: import("./types").UnitConfigT<"PWb">;
readonly 12: import("./types").UnitConfigT<"TWb">;
readonly 9: import("./types").UnitConfigT<"GWb">;
readonly 6: import("./types").UnitConfigT<"MWb">;
readonly 3: import("./types").UnitConfigT<"kWb">;
readonly 2: import("./types").UnitConfigT<"hWb">;
readonly 1: import("./types").UnitConfigT<"daWb">;
readonly 0: import("./types").UnitConfigT<"Wb">;
readonly [-1]: import("./types").UnitConfigT<"dWb">;
readonly [-2]: import("./types").UnitConfigT<"cWb">;
readonly [-3]: import("./types").UnitConfigT<"mWb">;
readonly [-6]: import("./types").UnitConfigT<"µWb">;
readonly [-9]: import("./types").UnitConfigT<"nWb">;
readonly [-12]: import("./types").UnitConfigT<"pWb">;
readonly [-15]: import("./types").UnitConfigT<"fWb">;
readonly [-18]: import("./types").UnitConfigT<"aWb">;
readonly [-21]: import("./types").UnitConfigT<"zWb">;
readonly [-24]: import("./types").UnitConfigT<"yWb">;
readonly [-27]: import("./types").UnitConfigT<"rWb">;
readonly [-30]: import("./types").UnitConfigT<"qWb">;
readonly '30': import("./types").UnitConfigT<"QWb">;
readonly '27': import("./types").UnitConfigT<"RWb">;
readonly '24': import("./types").UnitConfigT<"YWb">;
readonly '21': import("./types").UnitConfigT<"ZWb">;
readonly '18': import("./types").UnitConfigT<"EWb">;
readonly '15': import("./types").UnitConfigT<"PWb">;
readonly '12': import("./types").UnitConfigT<"TWb">;
readonly '9': import("./types").UnitConfigT<"GWb">;
readonly '6': import("./types").UnitConfigT<"MWb">;
readonly '3': import("./types").UnitConfigT<"kWb">;
readonly '2': import("./types").UnitConfigT<"hWb">;
readonly '1': import("./types").UnitConfigT<"daWb">;
readonly '0': import("./types").UnitConfigT<"Wb">;
readonly '-1': import("./types").UnitConfigT<"dWb">;
readonly '-2': import("./types").UnitConfigT<"cWb">;
readonly '-3': import("./types").UnitConfigT<"mWb">;
readonly '-6': import("./types").UnitConfigT<"µWb">;
readonly '-9': import("./types").UnitConfigT<"nWb">;
readonly '-12': import("./types").UnitConfigT<"pWb">;
readonly '-15': import("./types").UnitConfigT<"fWb">;
readonly '-18': import("./types").UnitConfigT<"aWb">;
readonly '-21': import("./types").UnitConfigT<"zWb">;
readonly '-24': import("./types").UnitConfigT<"yWb">;
readonly '-27': import("./types").UnitConfigT<"rWb">;
readonly '-30': import("./types").UnitConfigT<"qWb">;
}>;
readonly tesla: Readonly<{
readonly 30: import("./types").UnitConfigT<"QT">;
readonly 27: import("./types").UnitConfigT<"RT">;
readonly 24: import("./types").UnitConfigT<"YT">;
readonly 21: import("./types").UnitConfigT<"ZT">;
readonly 18: import("./types").UnitConfigT<"ET">;
readonly 15: import("./types").UnitConfigT<"PT">;
readonly 12: import("./types").UnitConfigT<"TT">;
readonly 9: import("./types").UnitConfigT<"GT">;
readonly 6: import("./types").UnitConfigT<"MT">;
readonly 3: import("./types").UnitConfigT<"kT">;
readonly 2: import("./types").UnitConfigT<"hT">;
readonly 1: import("./types").UnitConfigT<"daT">;
readonly 0: import("./types").UnitConfigT<"T">;
readonly [-1]: import("./types").UnitConfigT<"dT">;
readonly [-2]: import("./types").UnitConfigT<"cT">;
readonly [-3]: import("./types").UnitConfigT<"mT">;
readonly [-6]: import("./types").UnitConfigT<"µT">;
readonly [-9]: import("./types").UnitConfigT<"nT">;
readonly [-12]: import("./types").UnitConfigT<"pT">;
readonly [-15]: import("./types").UnitConfigT<"fT">;
readonly [-18]: import("./types").UnitConfigT<"aT">;
readonly [-21]: import("./types").UnitConfigT<"zT">;
readonly [-24]: import("./types").UnitConfigT<"yT">;
readonly [-27]: import("./types").UnitConfigT<"rT">;
readonly [-30]: import("./types").UnitConfigT<"qT">;
readonly '30': import("./types").UnitConfigT<"QT">;
readonly '27': import("./types").UnitConfigT<"RT">;
readonly '24': import("./types").UnitConfigT<"YT">;
readonly '21': import("./types").UnitConfigT<"ZT">;
readonly '18': import("./types").UnitConfigT<"ET">;
readonly '15': import("./types").UnitConfigT<"PT">;
readonly '12': import("./types").UnitConfigT<"TT">;
readonly '9': import("./types").UnitConfigT<"GT">;
readonly '6': import("./types").UnitConfigT<"MT">;
readonly '3': import("./types").UnitConfigT<"kT">;
readonly '2': import("./types").UnitConfigT<"hT">;
readonly '1': import("./types").UnitConfigT<"daT">;
readonly '0': import("./types").UnitConfigT<"T">;
readonly '-1': import("./types").UnitConfigT<"dT">;
readonly '-2': import("./types").UnitConfigT<"cT">;
readonly '-3': import("./types").UnitConfigT<"mT">;
readonly '-6': import("./types").UnitConfigT<"µT">;
readonly '-9': import("./types").UnitConfigT<"nT">;
readonly '-12': import("./types").UnitConfigT<"pT">;
readonly '-15': import("./types").UnitConfigT<"fT">;
readonly '-18': import("./types").UnitConfigT<"aT">;
readonly '-21': import("./types").UnitConfigT<"zT">;
readonly '-24': import("./types").UnitConfigT<"yT">;
readonly '-27': import("./types").UnitConfigT<"rT">;
readonly '-30': import("./types").UnitConfigT<"qT">;
}>;
readonly henry: Readonly<{
readonly 30: import("./types").UnitConfigT<"QH">;
readonly 27: import("./types").UnitConfigT<"RH">;
readonly 24: import("./types").UnitConfigT<"YH">;
readonly 21: import("./types").UnitConfigT<"ZH">;
readonly 18: import("./types").UnitConfigT<"EH">;
readonly 15: import("./types").UnitConfigT<"PH">;
readonly 12: import("./types").UnitConfigT<"TH">;
readonly 9: import("./types").UnitConfigT<"GH">;
readonly 6: import("./types").UnitConfigT<"MH">;
readonly 3: import("./types").UnitConfigT<"kH">;
readonly 2: import("./types").UnitConfigT<"hH">;
readonly 1: import("./types").UnitConfigT<"daH">;
readonly 0: import("./types").UnitConfigT<"H">;
readonly [-1]: import("./types").UnitConfigT<"dH">;
readonly [-2]: import("./types").UnitConfigT<"cH">;
readonly [-3]: import("./types").UnitConfigT<"mH">;
readonly [-6]: import("./types").UnitConfigT<"µH">;
readonly [-9]: import("./types").UnitConfigT<"nH">;
readonly [-12]: import("./types").UnitConfigT<"pH">;
readonly [-15]: import("./types").UnitConfigT<"fH">;
readonly [-18]: import("./types").UnitConfigT<"aH">;
readonly [-21]: import("./types").UnitConfigT<"zH">;
readonly [-24]: import("./types").UnitConfigT<"yH">;
readonly [-27]: import("./types").UnitConfigT<"rH">;
readonly [-30]: import("./types").UnitConfigT<"qH">;
readonly '30': import("./types").UnitConfigT<"QH">;
readonly '27': import("./types").UnitConfigT<"RH">;
readonly '24': import("./types").UnitConfigT<"YH">;
readonly '21': import("./types").UnitConfigT<"ZH">;
readonly '18': import("./types").UnitConfigT<"EH">;
readonly '15': import("./types").UnitConfigT<"PH">;
readonly '12': import("./types").UnitConfigT<"TH">;
readonly '9': import("./types").UnitConfigT<"GH">;
readonly '6': import("./types").UnitConfigT<"MH">;
readonly '3': import("./types").UnitConfigT<"kH">;
readonly '2': import("./types").UnitConfigT<"hH">;
readonly '1': import("./types").UnitConfigT<"daH">;
readonly '0': import("./types").UnitConfigT<"H">;
readonly '-1': import("./types").UnitConfigT<"dH">;
readonly '-2': import("./types").UnitConfigT<"cH">;
readonly '-3': import("./types").UnitConfigT<"mH">;
readonly '-6': import("./types").UnitConfigT<"µH">;
readonly '-9': import("./types").UnitConfigT<"nH">;
readonly '-12': import("./types").UnitConfigT<"pH">;
readonly '-15': import("./types").UnitConfigT<"fH">;
readonly '-18': import("./types").UnitConfigT<"aH">;
readonly '-21': import("./types").UnitConfigT<"zH">;
readonly '-24': import("./types").UnitConfigT<"yH">;
readonly '-27': import("./types").UnitConfigT<"rH">;
readonly '-30': import("./types").UnitConfigT<"qH">;
}>;
readonly siemens: Readonly<{
readonly 30: import("./types").UnitConfigT<"QS">;
readonly 27: import("./types").UnitConfigT<"RS">;
readonly 24: import("./types").UnitConfigT<"YS">;
readonly 21: import("./types").UnitConfigT<"ZS">;
readonly 18: import("./types").UnitConfigT<"ES">;
readonly 15: import("./types").UnitConfigT<"PS">;
readonly 12: import("./types").UnitConfigT<"TS">;
readonly 9: import("./types").UnitConfigT<"GS">;
readonly 6: import("./types").UnitConfigT<"MS">;
readonly 3: import("./types").UnitConfigT<"kS">;
readonly 2: import("./types").UnitConfigT<"hS">;
readonly 1: import("./types").UnitConfigT<"daS">;
readonly 0: import("./types").UnitConfigT<"S">;
readonly [-1]: import("./types").UnitConfigT<"dS">;
readonly [-2]: import("./types").UnitConfigT<"cS">;
readonly [-3]: import("./types").UnitConfigT<"mS">;
readonly [-6]: import("./types").UnitConfigT<"µS">;
readonly [-9]: import("./types").UnitConfigT<"nS">;
readonly [-12]: import("./types").UnitConfigT<"pS">;
readonly [-15]: import("./types").UnitConfigT<"fS">;
readonly [-18]: import("./types").UnitConfigT<"aS">;
readonly [-21]: import("./types").UnitConfigT<"zS">;
readonly [-24]: import("./types").UnitConfigT<"yS">;
readonly [-27]: import("./types").UnitConfigT<"rS">;
readonly [-30]: import("./types").UnitConfigT<"qS">;
readonly '30': import("./types").UnitConfigT<"QS">;
readonly '27': import("./types").UnitConfigT<"RS">;
readonly '24': import("./types").UnitConfigT<"YS">;
readonly '21': import("./types").UnitConfigT<"ZS">;
readonly '18': import("./types").UnitConfigT<"ES">;
readonly '15': import("./types").UnitConfigT<"PS">;
readonly '12': import("./types").UnitConfigT<"TS">;
readonly '9': import("./types").UnitConfigT<"GS">;
readonly '6': import("./types").UnitConfigT<"MS">;
readonly '3': import("./types").UnitConfigT<"kS">;
readonly '2': import("./types").UnitConfigT<"hS">;
readonly '1': import("./types").UnitConfigT<"daS">;
readonly '0': import("./types").UnitConfigT<"S">;
readonly '-1': import("./types").UnitConfigT<"dS">;
readonly '-2': import("./types").UnitConfigT<"cS">;
readonly '-3': import("./types").UnitConfigT<"mS">;
readonly '-6': import("./types").UnitConfigT<"µS">;
readonly '-9': import("./types").UnitConfigT<"nS">;
readonly '-12': import("./types").UnitConfigT<"pS">;
readonly '-15': import("./types").UnitConfigT<"fS">;
readonly '-18': import("./types").UnitConfigT<"aS">;
readonly '-21': import("./types").UnitConfigT<"zS">;
readonly '-24': import("./types").UnitConfigT<"yS">;
readonly '-27': import("./types").UnitConfigT<"rS">;
readonly '-30': import("./types").UnitConfigT<"qS">;
}>;
readonly joule: Readonly<{
readonly 30: import("./types").UnitConfigT<"QJ">;
readonly 27: import("./types").UnitConfigT<"RJ">;
readonly 24: import("./types").UnitConfigT<"YJ">;
readonly 21: import("./types").UnitConfigT<"ZJ">;
readonly 18: import("./types").UnitConfigT<"EJ">;
readonly 15: import("./types").UnitConfigT<"PJ">;
readonly 12: import("./types").UnitConfigT<"TJ">;
readonly 9: import("./types").UnitConfigT<"GJ">;
readonly 6: import("./types").UnitConfigT<"MJ">;
readonly 3: import("./types").UnitConfigT<"kJ">;
readonly 2: import("./types").UnitConfigT<"hJ">;
readonly 1: import("./types").UnitConfigT<"daJ">;
readonly 0: import("./types").UnitConfigT<"J">;
readonly [-1]: import("./types").UnitConfigT<"dJ">;
readonly [-2]: import("./types").UnitConfigT<"cJ">;
readonly [-3]: import("./types").UnitConfigT<"mJ">;
readonly [-6]: import("./types").UnitConfigT<"µJ">;
readonly [-9]: import("./types").UnitConfigT<"nJ">;
readonly [-12]: import("./types").UnitConfigT<"pJ">;
readonly [-15]: import("./types").UnitConfigT<"fJ">;
readonly [-18]: import("./types").UnitConfigT<"aJ">;
readonly [-21]: import("./types").UnitConfigT<"zJ">;
readonly [-24]: import("./types").UnitConfigT<"yJ">;
readonly [-27]: import("./types").UnitConfigT<"rJ">;
readonly [-30]: import("./types").UnitConfigT<"qJ">;
readonly '30': import("./types").UnitConfigT<"QJ">;
readonly '27': import("./types").UnitConfigT<"RJ">;
readonly '24': import("./types").UnitConfigT<"YJ">;
readonly '21': import("./types").UnitConfigT<"ZJ">;
readonly '18': import("./types").UnitConfigT<"EJ">;
readonly '15': import("./types").UnitConfigT<"PJ">;
readonly '12': import("./types").UnitConfigT<"TJ">;
readonly '9': import("./types").UnitConfigT<"GJ">;
readonly '6': import("./types").UnitConfigT<"MJ">;
readonly '3': import("./types").UnitConfigT<"kJ">;
readonly '2': import("./types").UnitConfigT<"hJ">;
readonly '1': import("./types").UnitConfigT<"daJ">;
readonly '0': import("./types").UnitConfigT<"J">;
readonly '-1': import("./types").UnitConfigT<"dJ">;
readonly '-2': import("./types").UnitConfigT<"cJ">;
readonly '-3': import("./types").UnitConfigT<"mJ">;
readonly '-6': import("./types").UnitConfigT<"µJ">;
readonly '-9': import("./types").UnitConfigT<"nJ">;
readonly '-12': import("./types").UnitConfigT<"pJ">;
readonly '-15': import("./types").UnitConfigT<"fJ">;
readonly '-18': import("./types").UnitConfigT<"aJ">;
readonly '-21': import("./types").UnitConfigT<"zJ">;
readonly '-24': import("./types").UnitConfigT<"yJ">;
readonly '-27': import("./types").UnitConfigT<"rJ">;
readonly '-30': import("./types").UnitConfigT<"qJ">;
}>;
readonly watt_hour: Readonly<{
readonly 30: import("./types").UnitConfigT<"QWh">;
readonly 27: import("./types").UnitConfigT<"RWh">;
readonly 24: import("./types").UnitConfigT<"YWh">;
readonly 21: import("./types").UnitConfigT<"ZWh">;
readonly 18: import("./types").UnitConfigT<"EWh">;
readonly 15: import("./types").UnitConfigT<"PWh">;
readonly 12: import("./types").UnitConfigT<"TWh">;
readonly 9: import("./types").UnitConfigT<"GWh">;
readonly 6: import("./types").UnitConfigT<"MWh">;
readonly 3: import("./types").UnitConfigT<"kWh">;
readonly 2: import("./types").UnitConfigT<"hWh">;
readonly 1: import("./types").UnitConfigT<"daWh">;
readonly 0: import("./types").UnitConfigT<"Wh">;
readonly [-1]: import("./types").UnitConfigT<"dWh">;
readonly [-2]: import("./types").UnitConfigT<"cWh">;
readonly [-3]: import("./types").UnitConfigT<"mWh">;
readonly [-6]: import("./types").UnitConfigT<"µWh">;
readonly [-9]: import("./types").UnitConfigT<"nWh">;
readonly [-12]: import("./types").UnitConfigT<"pWh">;
readonly [-15]: import("./types").UnitConfigT<"fWh">;
readonly [-18]: import("./types").UnitConfigT<"aWh">;
readonly [-21]: import("./types").UnitConfigT<"zWh">;
readonly [-24]: import("./types").UnitConfigT<"yWh">;
readonly [-27]: import("./types").UnitConfigT<"rWh">;
readonly [-30]: import("./types").UnitConfigT<"qWh">;
readonly '30': import("./types").UnitConfigT<"QWh">;
readonly '27': import("./types").UnitConfigT<"RWh">;
readonly '24': import("./types").UnitConfigT<"YWh">;
readonly '21': import("./types").UnitConfigT<"ZWh">;
readonly '18': import("./types").UnitConfigT<"EWh">;
readonly '15': import("./types").UnitConfigT<"PWh">;
readonly '12': import("./types").UnitConfigT<"TWh">;
readonly '9': import("./types").UnitConfigT<"GWh">;
readonly '6': import("./types").UnitConfigT<"MWh">;
readonly '3': import("./types").UnitConfigT<"kWh">;
readonly '2': import("./types").UnitConfigT<"hWh">;
readonly '1': import("./types").UnitConfigT<"daWh">;
readonly '0': import("./types").UnitConfigT<"Wh">;
readonly '-1': import("./types").UnitConfigT<"dWh">;
readonly '-2': import("./types").UnitConfigT<"cWh">;
readonly '-3': import("./types").UnitConfigT<"mWh">;
readonly '-6': import("./types").UnitConfigT<"µWh">;
readonly '-9': import("./types").UnitConfigT<"nWh">;
readonly '-12': import("./types").UnitConfigT<"pWh">;
readonly '-15': import("./types").UnitConfigT<"fWh">;
readonly '-18': import("./types").UnitConfigT<"aWh">;
readonly '-21': import("./types").UnitConfigT<"zWh">;
readonly '-24': import("./types").UnitConfigT<"yWh">;
readonly '-27': import("./types").UnitConfigT<"rWh">;
readonly '-30': import("./types").UnitConfigT<"qWh">;
}>;
readonly newton: Readonly<{
readonly 30: import("./types").UnitConfigT<"QN">;
readonly 27: import("./types").UnitConfigT<"RN">;
readonly 24: import("./types").UnitConfigT<"YN">;
readonly 21: import("./types").UnitConfigT<"ZN">;
readonly 18: import("./types").UnitConfigT<"EN">;
readonly 15: import("./types").UnitConfigT<"PN">;
readonly 12: import("./types").UnitConfigT<"TN">;
readonly 9: import("./types").UnitConfigT<"GN">;
readonly 6: import("./types").UnitConfigT<"MN">;
readonly 3: import("./types").UnitConfigT<"kN">;
readonly 2: import("./types").UnitConfigT<"hN">;
readonly 1: import("./types").UnitConfigT<"daN">;
readonly 0: import("./types").UnitConfigT<"N">;
readonly [-1]: import("./types").UnitConfigT<"dN">;
readonly [-2]: import("./types").UnitConfigT<"cN">;
readonly [-3]: import("./types").UnitConfigT<"mN">;
readonly [-6]: import("./types").UnitConfigT<"µN">;
readonly [-9]: import("./types").UnitConfigT<"nN">;
readonly [-12]: import("./types").UnitConfigT<"pN">;
readonly [-15]: import("./types").UnitConfigT<"fN">;
readonly [-18]: import("./types").UnitConfigT<"aN">;
readonly [-21]: import("./types").UnitConfigT<"zN">;
readonly [-24]: import("./types").UnitConfigT<"yN">;
readonly [-27]: import("./types").UnitConfigT<"rN">;
readonly [-30]: import("./types").UnitConfigT<"qN">;
readonly '30': import("./types").UnitConfigT<"QN">;
readonly '27': import("./types").UnitConfigT<"RN">;
readonly '24': import("./types").UnitConfigT<"YN">;
readonly '21': import("./types").UnitConfigT<"ZN">;
readonly '18': import("./types").UnitConfigT<"EN">;
readonly '15': import("./types").UnitConfigT<"PN">;
readonly '12': import("./types").UnitConfigT<"TN">;
readonly '9': import("./types").UnitConfigT<"GN">;
readonly '6': import("./types").UnitConfigT<"MN">;
readonly '3': import("./types").UnitConfigT<"kN">;
readonly '2': import("./types").UnitConfigT<"hN">;
readonly '1': import("./types").UnitConfigT<"daN">;
readonly '0': import("./types").UnitConfigT<"N">;
readonly '-1': import("./types").UnitConfigT<"dN">;
readonly '-2': import("./types").UnitConfigT<"cN">;
readonly '-3': import("./types").UnitConfigT<"mN">;
readonly '-6': import("./types").UnitConfigT<"µN">;
readonly '-9': import("./types").UnitConfigT<"nN">;
readonly '-12': import("./types").UnitConfigT<"pN">;
readonly '-15': import("./types").UnitConfigT<"fN">;
readonly '-18': import("./types").UnitConfigT<"aN">;
readonly '-21': import("./types").UnitConfigT<"zN">;
readonly '-24': import("./types").UnitConfigT<"yN">;
readonly '-27': import("./types").UnitConfigT<"rN">;
readonly '-30': import("./types").UnitConfigT<"qN">;
}>;
readonly pound_f: Readonly<{
readonly 0: import("./types").UnitConfigT<"lb">;
readonly '0': import("./types").UnitConfigT<"lb">;
}>;
readonly hertz: Readonly<{
readonly 30: import("./types").UnitConfigT<"QHz">;
readonly 27: import("./types").UnitConfigT<"RHz">;
readonly 24: import("./types").UnitConfigT<"YHz">;
readonly 21: import("./types").UnitConfigT<"ZHz">;
readonly 18: import("./types").UnitConfigT<"EHz">;
readonly 15: import("./types").UnitConfigT<"PHz">;
readonly 12: import("./types").UnitConfigT<"THz">;
readonly 9: import("./types").UnitConfigT<"GHz">;
readonly 6: import("./types").UnitConfigT<"MHz">;
readonly 3: import("./types").UnitConfigT<"kHz">;
readonly 2: import("./types").UnitConfigT<"hHz">;
readonly 1: import("./types").UnitConfigT<"daHz">;
readonly 0: import("./types").UnitConfigT<"Hz">;
readonly [-1]: import("./types").UnitConfigT<"dHz">;
readonly [-2]: import("./types").UnitConfigT<"cHz">;
readonly [-3]: import("./types").UnitConfigT<"mHz">;
readonly [-6]: import("./types").UnitConfigT<"µHz">;
readonly [-9]: import("./types").UnitConfigT<"nHz">;
readonly [-12]: import("./types").UnitConfigT<"pHz">;
readonly [-15]: import("./types").UnitConfigT<"fHz">;
readonly [-18]: import("./types").UnitConfigT<"aHz">;
readonly [-21]: import("./types").UnitConfigT<"zHz">;
readonly [-24]: import("./types").UnitConfigT<"yHz">;
readonly [-27]: import("./types").UnitConfigT<"rHz">;
readonly [-30]: import("./types").UnitConfigT<"qHz">;
readonly '30': import("./types").UnitConfigT<"QHz">;
readonly '27': import("./types").UnitConfigT<"RHz">;
readonly '24': import("./types").UnitConfigT<"YHz">;
readonly '21': import("./types").UnitConfigT<"ZHz">;
readonly '18': import("./types").UnitConfigT<"EHz">;
readonly '15': import("./types").UnitConfigT<"PHz">;
readonly '12': import("./types").UnitConfigT<"THz">;
readonly '9': import("./types").UnitConfigT<"GHz">;
readonly '6': import("./types").UnitConfigT<"MHz">;
readonly '3': import("./types").UnitConfigT<"kHz">;
readonly '2': import("./types").UnitConfigT<"hHz">;
readonly '1': import("./types").UnitConfigT<"daHz">;
readonly '0': import("./types").UnitConfigT<"Hz">;
readonly '-1': import("./types").UnitConfigT<"dHz">;
readonly '-2': import("./types").UnitConfigT<"cHz">;
readonly '-3': import("./types").UnitConfigT<"mHz">;
readonly '-6': import("./types").UnitConfigT<"µHz">;
readonly '-9': import("./types").UnitConfigT<"nHz">;
readonly '-12': import("./types").UnitConfigT<"pHz">;
readonly '-15': import("./types").UnitConfigT<"fHz">;
readonly '-18': import("./types").UnitConfigT<"aHz">;
readonly '-21': import("./types").UnitConfigT<"zHz">;
readonly '-24': import("./types").UnitConfigT<"yHz">;
readonly '-27': import("./types").UnitConfigT<"rHz">;
readonly '-30': import("./types").UnitConfigT<"qHz">;
}>;
readonly meter: Readonly<{
readonly 30: import("./types").UnitConfigT<"Qm">;
readonly 27: import("./types").UnitConfigT<"Rm">;
readonly 24: import("./types").UnitConfigT<"Ym">;
readonly 21: import("./types").UnitConfigT<"Zm">;
readonly 18: import("./types").UnitConfigT<"Em">;
readonly 15: import("./types").UnitConfigT<"Pm">;
readonly 12: import("./types").UnitConfigT<"Tm">;
readonly 9: import("./types").UnitConfigT<"Gm">;
readonly 6: import("./types").UnitConfigT<"Mm">;
readonly 3: import("./types").UnitConfigT<"km">;
readonly 2: import("./types").UnitConfigT<"hm">;
readonly 1: import("./types").UnitConfigT<"dam">;
readonly 0: import("./types").UnitConfigT<"m">;
readonly [-1]: import("./types").UnitConfigT<"dm">;
readonly [-2]: import("./types").UnitConfigT<"cm">;
readonly [-3]: import("./types").UnitConfigT<"mm">;
readonly [-6]: import("./types").UnitConfigT<"µm">;
readonly [-9]: import("./types").UnitConfigT<"nm">;
readonly [-12]: import("./types").UnitConfigT<"pm">;
readonly [-15]: import("./types").UnitConfigT<"fm">;
readonly [-18]: import("./types").UnitConfigT<"am">;
readonly [-21]: import("./types").UnitConfigT<"zm">;
readonly [-24]: import("./types").UnitConfigT<"ym">;
readonly [-27]: import("./types").UnitConfigT<"rm">;
readonly [-30]: import("./types").UnitConfigT<"qm">;
readonly '30': import("./types").UnitConfigT<"Qm">;
readonly '27': import("./types").UnitConfigT<"Rm">;
readonly '24': import("./types").UnitConfigT<"Ym">;
readonly '21': import("./types").UnitConfigT<"Zm">;
readonly '18': import("./types").UnitConfigT<"Em">;
readonly '15': import("./types").UnitConfigT<"Pm">;
readonly '12': import("./types").UnitConfigT<"Tm">;
readonly '9': import("./types").UnitConfigT<"Gm">;
readonly '6': import("./types").UnitConfigT<"Mm">;
readonly '3': import("./types").UnitConfigT<"km">;
readonly '2': import("./types").UnitConfigT<"hm">;
readonly '1': import("./types").UnitConfigT<"dam">;
readonly '0': import("./types").UnitConfigT<"m">;
readonly '-1': import("./types").UnitConfigT<"dm">;
readonly '-2': import("./types").UnitConfigT<"cm">;
readonly '-3': import("./types").UnitConfigT<"mm">;
readonly '-6': import("./types").UnitConfigT<"µm">;
readonly '-9': import("./types").UnitConfigT<"nm">;
readonly '-12': import("./types").UnitConfigT<"pm">;
readonly '-15': import("./types").UnitConfigT<"fm">;
readonly '-18': import("./types").UnitConfigT<"am">;
readonly '-21': import("./types").UnitConfigT<"zm">;
readonly '-24': import("./types").UnitConfigT<"ym">;
readonly '-27': import("./types").UnitConfigT<"rm">;
readonly '-30': import("./types").UnitConfigT<"qm">;
}>;
readonly inch: Readonly<{
readonly 0: import("./types").UnitConfigT<"in">;
readonly '0': import("./types").UnitConfigT<"in">;
}>;
readonly foot: Readonly<{
readonly 0: import("./types").UnitConfigT<"ft">;
readonly '0': import("./types").UnitConfigT<"ft">;
}>;
readonly yard: Readonly<{
readonly 0: import("./types").UnitConfigT<"yd">;
readonly '0': import("./types").UnitConfigT<"yd">;
}>;
readonly mile: Readonly<{
readonly 0: import("./types").UnitConfigT<"mi">;
readonly '0': import("./types").UnitConfigT<"mi">;
}>;
readonly astronomical_unit: Readonly<{
readonly 0: import("./types").UnitConfigT<"au">;
readonly '0': import("./types").UnitConfigT<"au">;
}>;
readonly lightyear: Readonly<{
readonly 0: import("./types").UnitConfigT<"ly">;
readonly '0': import("./types").UnitConfigT<"ly">;
}>;

@@ -675,369 +675,369 @@ readonly gram: {

readonly grain: Readonly<{
readonly 0: import("./types").UnitConfigT<"gr">;
readonly '0': import("./types").UnitConfigT<"gr">;
}>;
readonly ounce: Readonly<{
readonly 0: import("./types").UnitConfigT<"oz">;
readonly '0': import("./types").UnitConfigT<"oz">;
}>;
readonly pound: Readonly<{
readonly 0: import("./types").UnitConfigT<"lb">;
readonly '0': import("./types").UnitConfigT<"lb">;
}>;
readonly decibel_milliwatt: Readonly<{
readonly 0: import("./types").UnitConfigT<"dBm">;
readonly '0': import("./types").UnitConfigT<"dBm">;
}>;
readonly litre: Readonly<{
readonly 30: import("./types").UnitConfigT<"Ql">;
readonly 27: import("./types").UnitConfigT<"Rl">;
readonly 24: import("./types").UnitConfigT<"Yl">;
readonly 21: import("./types").UnitConfigT<"Zl">;
readonly 18: import("./types").UnitConfigT<"El">;
readonly 15: import("./types").UnitConfigT<"Pl">;
readonly 12: import("./types").UnitConfigT<"Tl">;
readonly 9: import("./types").UnitConfigT<"Gl">;
readonly 6: import("./types").UnitConfigT<"Ml">;
readonly 3: import("./types").UnitConfigT<"kl">;
readonly 2: import("./types").UnitConfigT<"hl">;
readonly 1: import("./types").UnitConfigT<"dal">;
readonly 0: import("./types").UnitConfigT<"l">;
readonly [-1]: import("./types").UnitConfigT<"dl">;
readonly [-2]: import("./types").UnitConfigT<"cl">;
readonly [-3]: import("./types").UnitConfigT<"ml">;
readonly [-6]: import("./types").UnitConfigT<"µl">;
readonly [-9]: import("./types").UnitConfigT<"nl">;
readonly [-12]: import("./types").UnitConfigT<"pl">;
readonly [-15]: import("./types").UnitConfigT<"fl">;
readonly [-18]: import("./types").UnitConfigT<"al">;
readonly [-21]: import("./types").UnitConfigT<"zl">;
readonly [-24]: import("./types").UnitConfigT<"yl">;
readonly [-27]: import("./types").UnitConfigT<"rl">;
readonly [-30]: import("./types").UnitConfigT<"ql">;
readonly '30': import("./types").UnitConfigT<"Ql">;
readonly '27': import("./types").UnitConfigT<"Rl">;
readonly '24': import("./types").UnitConfigT<"Yl">;
readonly '21': import("./types").UnitConfigT<"Zl">;
readonly '18': import("./types").UnitConfigT<"El">;
readonly '15': import("./types").UnitConfigT<"Pl">;
readonly '12': import("./types").UnitConfigT<"Tl">;
readonly '9': import("./types").UnitConfigT<"Gl">;
readonly '6': import("./types").UnitConfigT<"Ml">;
readonly '3': import("./types").UnitConfigT<"kl">;
readonly '2': import("./types").UnitConfigT<"hl">;
readonly '1': import("./types").UnitConfigT<"dal">;
readonly '0': import("./types").UnitConfigT<"l">;
readonly '-1': import("./types").UnitConfigT<"dl">;
readonly '-2': import("./types").UnitConfigT<"cl">;
readonly '-3': import("./types").UnitConfigT<"ml">;
readonly '-6': import("./types").UnitConfigT<"µl">;
readonly '-9': import("./types").UnitConfigT<"nl">;
readonly '-12': import("./types").UnitConfigT<"pl">;
readonly '-15': import("./types").UnitConfigT<"fl">;
readonly '-18': import("./types").UnitConfigT<"al">;
readonly '-21': import("./types").UnitConfigT<"zl">;
readonly '-24': import("./types").UnitConfigT<"yl">;
readonly '-27': import("./types").UnitConfigT<"rl">;
readonly '-30': import("./types").UnitConfigT<"ql">;
}>;
readonly one_p: Readonly<{
readonly 0: import("./types").UnitConfigT<"">;
readonly '0': import("./types").UnitConfigT<"">;
}>;
readonly percent: Readonly<{
readonly 0: import("./types").UnitConfigT<"%">;
readonly '0': import("./types").UnitConfigT<"%">;
}>;
readonly per_mille: Readonly<{
readonly 0: import("./types").UnitConfigT<"‰">;
readonly '0': import("./types").UnitConfigT<"‰">;
}>;
readonly promille: Readonly<{
readonly 0: import("./types").UnitConfigT<"‰">;
readonly '0': import("./types").UnitConfigT<"‰">;
}>;
readonly parts_per_million: Readonly<{
readonly 0: import("./types").UnitConfigT<"ppm">;
readonly '0': import("./types").UnitConfigT<"ppm">;
}>;
readonly parts_per_billion: Readonly<{
readonly 0: import("./types").UnitConfigT<"ppb">;
readonly '0': import("./types").UnitConfigT<"ppb">;
}>;
readonly parts_per_trillion: Readonly<{
readonly 0: import("./types").UnitConfigT<"ppt">;
readonly '0': import("./types").UnitConfigT<"ppt">;
}>;
readonly gray: Readonly<{
readonly 30: import("./types").UnitConfigT<"QGy">;
readonly 27: import("./types").UnitConfigT<"RGy">;
readonly 24: import("./types").UnitConfigT<"YGy">;
readonly 21: import("./types").UnitConfigT<"ZGy">;
readonly 18: import("./types").UnitConfigT<"EGy">;
readonly 15: import("./types").UnitConfigT<"PGy">;
readonly 12: import("./types").UnitConfigT<"TGy">;
readonly 9: import("./types").UnitConfigT<"GGy">;
readonly 6: import("./types").UnitConfigT<"MGy">;
readonly 3: import("./types").UnitConfigT<"kGy">;
readonly 2: import("./types").UnitConfigT<"hGy">;
readonly 1: import("./types").UnitConfigT<"daGy">;
readonly 0: import("./types").UnitConfigT<"Gy">;
readonly [-1]: import("./types").UnitConfigT<"dGy">;
readonly [-2]: import("./types").UnitConfigT<"cGy">;
readonly [-3]: import("./types").UnitConfigT<"mGy">;
readonly [-6]: import("./types").UnitConfigT<"µGy">;
readonly [-9]: import("./types").UnitConfigT<"nGy">;
readonly [-12]: import("./types").UnitConfigT<"pGy">;
readonly [-15]: import("./types").UnitConfigT<"fGy">;
readonly [-18]: import("./types").UnitConfigT<"aGy">;
readonly [-21]: import("./types").UnitConfigT<"zGy">;
readonly [-24]: import("./types").UnitConfigT<"yGy">;
readonly [-27]: import("./types").UnitConfigT<"rGy">;
readonly [-30]: import("./types").UnitConfigT<"qGy">;
readonly '30': import("./types").UnitConfigT<"QGy">;
readonly '27': import("./types").UnitConfigT<"RGy">;
readonly '24': import("./types").UnitConfigT<"YGy">;
readonly '21': import("./types").UnitConfigT<"ZGy">;
readonly '18': import("./types").UnitConfigT<"EGy">;
readonly '15': import("./types").UnitConfigT<"PGy">;
readonly '12': import("./types").UnitConfigT<"TGy">;
readonly '9': import("./types").UnitConfigT<"GGy">;
readonly '6': import("./types").UnitConfigT<"MGy">;
readonly '3': import("./types").UnitConfigT<"kGy">;
readonly '2': import("./types").UnitConfigT<"hGy">;
readonly '1': import("./types").UnitConfigT<"daGy">;
readonly '0': import("./types").UnitConfigT<"Gy">;
readonly '-1': import("./types").UnitConfigT<"dGy">;
readonly '-2': import("./types").UnitConfigT<"cGy">;
readonly '-3': import("./types").UnitConfigT<"mGy">;
readonly '-6': import("./types").UnitConfigT<"µGy">;
readonly '-9': import("./types").UnitConfigT<"nGy">;
readonly '-12': import("./types").UnitConfigT<"pGy">;
readonly '-15': import("./types").UnitConfigT<"fGy">;
readonly '-18': import("./types").UnitConfigT<"aGy">;
readonly '-21': import("./types").UnitConfigT<"zGy">;
readonly '-24': import("./types").UnitConfigT<"yGy">;
readonly '-27': import("./types").UnitConfigT<"rGy">;
readonly '-30': import("./types").UnitConfigT<"qGy">;
}>;
readonly sievert: Readonly<{
readonly 30: import("./types").UnitConfigT<"QSv">;
readonly 27: import("./types").UnitConfigT<"RSv">;
readonly 24: import("./types").UnitConfigT<"YSv">;
readonly 21: import("./types").UnitConfigT<"ZSv">;
readonly 18: import("./types").UnitConfigT<"ESv">;
readonly 15: import("./types").UnitConfigT<"PSv">;
readonly 12: import("./types").UnitConfigT<"TSv">;
readonly 9: import("./types").UnitConfigT<"GSv">;
readonly 6: import("./types").UnitConfigT<"MSv">;
readonly 3: import("./types").UnitConfigT<"kSv">;
readonly 2: import("./types").UnitConfigT<"hSv">;
readonly 1: import("./types").UnitConfigT<"daSv">;
readonly 0: import("./types").UnitConfigT<"Sv">;
readonly [-1]: import("./types").UnitConfigT<"dSv">;
readonly [-2]: import("./types").UnitConfigT<"cSv">;
readonly [-3]: import("./types").UnitConfigT<"mSv">;
readonly [-6]: import("./types").UnitConfigT<"µSv">;
readonly [-9]: import("./types").UnitConfigT<"nSv">;
readonly [-12]: import("./types").UnitConfigT<"pSv">;
readonly [-15]: import("./types").UnitConfigT<"fSv">;
readonly [-18]: import("./types").UnitConfigT<"aSv">;
readonly [-21]: import("./types").UnitConfigT<"zSv">;
readonly [-24]: import("./types").UnitConfigT<"ySv">;
readonly [-27]: import("./types").UnitConfigT<"rSv">;
readonly [-30]: import("./types").UnitConfigT<"qSv">;
readonly '30': import("./types").UnitConfigT<"QSv">;
readonly '27': import("./types").UnitConfigT<"RSv">;
readonly '24': import("./types").UnitConfigT<"YSv">;
readonly '21': import("./types").UnitConfigT<"ZSv">;
readonly '18': import("./types").UnitConfigT<"ESv">;
readonly '15': import("./types").UnitConfigT<"PSv">;
readonly '12': import("./types").UnitConfigT<"TSv">;
readonly '9': import("./types").UnitConfigT<"GSv">;
readonly '6': import("./types").UnitConfigT<"MSv">;
readonly '3': import("./types").UnitConfigT<"kSv">;
readonly '2': import("./types").UnitConfigT<"hSv">;
readonly '1': import("./types").UnitConfigT<"daSv">;
readonly '0': import("./types").UnitConfigT<"Sv">;
readonly '-1': import("./types").UnitConfigT<"dSv">;
readonly '-2': import("./types").UnitConfigT<"cSv">;
readonly '-3': import("./types").UnitConfigT<"mSv">;
readonly '-6': import("./types").UnitConfigT<"µSv">;
readonly '-9': import("./types").UnitConfigT<"nSv">;
readonly '-12': import("./types").UnitConfigT<"pSv">;
readonly '-15': import("./types").UnitConfigT<"fSv">;
readonly '-18': import("./types").UnitConfigT<"aSv">;
readonly '-21': import("./types").UnitConfigT<"zSv">;
readonly '-24': import("./types").UnitConfigT<"ySv">;
readonly '-27': import("./types").UnitConfigT<"rSv">;
readonly '-30': import("./types").UnitConfigT<"qSv">;
}>;
readonly candela: Readonly<{
readonly 30: import("./types").UnitConfigT<"Qcd">;
readonly 27: import("./types").UnitConfigT<"Rcd">;
readonly 24: import("./types").UnitConfigT<"Ycd">;
readonly 21: import("./types").UnitConfigT<"Zcd">;
readonly 18: import("./types").UnitConfigT<"Ecd">;
readonly 15: import("./types").UnitConfigT<"Pcd">;
readonly 12: import("./types").UnitConfigT<"Tcd">;
readonly 9: import("./types").UnitConfigT<"Gcd">;
readonly 6: import("./types").UnitConfigT<"Mcd">;
readonly 3: import("./types").UnitConfigT<"kcd">;
readonly 2: import("./types").UnitConfigT<"hcd">;
readonly 1: import("./types").UnitConfigT<"dacd">;
readonly 0: import("./types").UnitConfigT<"cd">;
readonly [-1]: import("./types").UnitConfigT<"dcd">;
readonly [-2]: import("./types").UnitConfigT<"ccd">;
readonly [-3]: import("./types").UnitConfigT<"mcd">;
readonly [-6]: import("./types").UnitConfigT<"µcd">;
readonly [-9]: import("./types").UnitConfigT<"ncd">;
readonly [-12]: import("./types").UnitConfigT<"pcd">;
readonly [-15]: import("./types").UnitConfigT<"fcd">;
readonly [-18]: import("./types").UnitConfigT<"acd">;
readonly [-21]: import("./types").UnitConfigT<"zcd">;
readonly [-24]: import("./types").UnitConfigT<"ycd">;
readonly [-27]: import("./types").UnitConfigT<"rcd">;
readonly [-30]: import("./types").UnitConfigT<"qcd">;
readonly '30': import("./types").UnitConfigT<"Qcd">;
readonly '27': import("./types").UnitConfigT<"Rcd">;
readonly '24': import("./types").UnitConfigT<"Ycd">;
readonly '21': import("./types").UnitConfigT<"Zcd">;
readonly '18': import("./types").UnitConfigT<"Ecd">;
readonly '15': import("./types").UnitConfigT<"Pcd">;
readonly '12': import("./types").UnitConfigT<"Tcd">;
readonly '9': import("./types").UnitConfigT<"Gcd">;
readonly '6': import("./types").UnitConfigT<"Mcd">;
readonly '3': import("./types").UnitConfigT<"kcd">;
readonly '2': import("./types").UnitConfigT<"hcd">;
readonly '1': import("./types").UnitConfigT<"dacd">;
readonly '0': import("./types").UnitConfigT<"cd">;
readonly '-1': import("./types").UnitConfigT<"dcd">;
readonly '-2': import("./types").UnitConfigT<"ccd">;
readonly '-3': import("./types").UnitConfigT<"mcd">;
readonly '-6': import("./types").UnitConfigT<"µcd">;
readonly '-9': import("./types").UnitConfigT<"ncd">;
readonly '-12': import("./types").UnitConfigT<"pcd">;
readonly '-15': import("./types").UnitConfigT<"fcd">;
readonly '-18': import("./types").UnitConfigT<"acd">;
readonly '-21': import("./types").UnitConfigT<"zcd">;
readonly '-24': import("./types").UnitConfigT<"ycd">;
readonly '-27': import("./types").UnitConfigT<"rcd">;
readonly '-30': import("./types").UnitConfigT<"qcd">;
}>;
readonly lumen: Readonly<{
readonly 30: import("./types").UnitConfigT<"Qlm">;
readonly 27: import("./types").UnitConfigT<"Rlm">;
readonly 24: import("./types").UnitConfigT<"Ylm">;
readonly 21: import("./types").UnitConfigT<"Zlm">;
readonly 18: import("./types").UnitConfigT<"Elm">;
readonly 15: import("./types").UnitConfigT<"Plm">;
readonly 12: import("./types").UnitConfigT<"Tlm">;
readonly 9: import("./types").UnitConfigT<"Glm">;
readonly 6: import("./types").UnitConfigT<"Mlm">;
readonly 3: import("./types").UnitConfigT<"klm">;
readonly 2: import("./types").UnitConfigT<"hlm">;
readonly 1: import("./types").UnitConfigT<"dalm">;
readonly 0: import("./types").UnitConfigT<"lm">;
readonly [-1]: import("./types").UnitConfigT<"dlm">;
readonly [-2]: import("./types").UnitConfigT<"clm">;
readonly [-3]: import("./types").UnitConfigT<"mlm">;
readonly [-6]: import("./types").UnitConfigT<"µlm">;
readonly [-9]: import("./types").UnitConfigT<"nlm">;
readonly [-12]: import("./types").UnitConfigT<"plm">;
readonly [-15]: import("./types").UnitConfigT<"flm">;
readonly [-18]: import("./types").UnitConfigT<"alm">;
readonly [-21]: import("./types").UnitConfigT<"zlm">;
readonly [-24]: import("./types").UnitConfigT<"ylm">;
readonly [-27]: import("./types").UnitConfigT<"rlm">;
readonly [-30]: import("./types").UnitConfigT<"qlm">;
readonly '30': import("./types").UnitConfigT<"Qlm">;
readonly '27': import("./types").UnitConfigT<"Rlm">;
readonly '24': import("./types").UnitConfigT<"Ylm">;
readonly '21': import("./types").UnitConfigT<"Zlm">;
readonly '18': import("./types").UnitConfigT<"Elm">;
readonly '15': import("./types").UnitConfigT<"Plm">;
readonly '12': import("./types").UnitConfigT<"Tlm">;
readonly '9': import("./types").UnitConfigT<"Glm">;
readonly '6': import("./types").UnitConfigT<"Mlm">;
readonly '3': import("./types").UnitConfigT<"klm">;
readonly '2': import("./types").UnitConfigT<"hlm">;
readonly '1': import("./types").UnitConfigT<"dalm">;
readonly '0': import("./types").UnitConfigT<"lm">;
readonly '-1': import("./types").UnitConfigT<"dlm">;
readonly '-2': import("./types").UnitConfigT<"clm">;
readonly '-3': import("./types").UnitConfigT<"mlm">;
readonly '-6': import("./types").UnitConfigT<"µlm">;
readonly '-9': import("./types").UnitConfigT<"nlm">;
readonly '-12': import("./types").UnitConfigT<"plm">;
readonly '-15': import("./types").UnitConfigT<"flm">;
readonly '-18': import("./types").UnitConfigT<"alm">;
readonly '-21': import("./types").UnitConfigT<"zlm">;
readonly '-24': import("./types").UnitConfigT<"ylm">;
readonly '-27': import("./types").UnitConfigT<"rlm">;
readonly '-30': import("./types").UnitConfigT<"qlm">;
}>;
readonly lux: Readonly<{
readonly 30: import("./types").UnitConfigT<"Qlx">;
readonly 27: import("./types").UnitConfigT<"Rlx">;
readonly 24: import("./types").UnitConfigT<"Ylx">;
readonly 21: import("./types").UnitConfigT<"Zlx">;
readonly 18: import("./types").UnitConfigT<"Elx">;
readonly 15: import("./types").UnitConfigT<"Plx">;
readonly 12: import("./types").UnitConfigT<"Tlx">;
readonly 9: import("./types").UnitConfigT<"Glx">;
readonly 6: import("./types").UnitConfigT<"Mlx">;
readonly 3: import("./types").UnitConfigT<"klx">;
readonly 2: import("./types").UnitConfigT<"hlx">;
readonly 1: import("./types").UnitConfigT<"dalx">;
readonly 0: import("./types").UnitConfigT<"lx">;
readonly [-1]: import("./types").UnitConfigT<"dlx">;
readonly [-2]: import("./types").UnitConfigT<"clx">;
readonly [-3]: import("./types").UnitConfigT<"mlx">;
readonly [-6]: import("./types").UnitConfigT<"µlx">;
readonly [-9]: import("./types").UnitConfigT<"nlx">;
readonly [-12]: import("./types").UnitConfigT<"plx">;
readonly [-15]: import("./types").UnitConfigT<"flx">;
readonly [-18]: import("./types").UnitConfigT<"alx">;
readonly [-21]: import("./types").UnitConfigT<"zlx">;
readonly [-24]: import("./types").UnitConfigT<"ylx">;
readonly [-27]: import("./types").UnitConfigT<"rlx">;
readonly [-30]: import("./types").UnitConfigT<"qlx">;
readonly '30': import("./types").UnitConfigT<"Qlx">;
readonly '27': import("./types").UnitConfigT<"Rlx">;
readonly '24': import("./types").UnitConfigT<"Ylx">;
readonly '21': import("./types").UnitConfigT<"Zlx">;
readonly '18': import("./types").UnitConfigT<"Elx">;
readonly '15': import("./types").UnitConfigT<"Plx">;
readonly '12': import("./types").UnitConfigT<"Tlx">;
readonly '9': import("./types").UnitConfigT<"Glx">;
readonly '6': import("./types").UnitConfigT<"Mlx">;
readonly '3': import("./types").UnitConfigT<"klx">;
readonly '2': import("./types").UnitConfigT<"hlx">;
readonly '1': import("./types").UnitConfigT<"dalx">;
readonly '0': import("./types").UnitConfigT<"lx">;
readonly '-1': import("./types").UnitConfigT<"dlx">;
readonly '-2': import("./types").UnitConfigT<"clx">;
readonly '-3': import("./types").UnitConfigT<"mlx">;
readonly '-6': import("./types").UnitConfigT<"µlx">;
readonly '-9': import("./types").UnitConfigT<"nlx">;
readonly '-12': import("./types").UnitConfigT<"plx">;
readonly '-15': import("./types").UnitConfigT<"flx">;
readonly '-18': import("./types").UnitConfigT<"alx">;
readonly '-21': import("./types").UnitConfigT<"zlx">;
readonly '-24': import("./types").UnitConfigT<"ylx">;
readonly '-27': import("./types").UnitConfigT<"rlx">;
readonly '-30': import("./types").UnitConfigT<"qlx">;
}>;
readonly steradian: Readonly<{
readonly 30: import("./types").UnitConfigT<"Qsr">;
readonly 27: import("./types").UnitConfigT<"Rsr">;
readonly 24: import("./types").UnitConfigT<"Ysr">;
readonly 21: import("./types").UnitConfigT<"Zsr">;
readonly 18: import("./types").UnitConfigT<"Esr">;
readonly 15: import("./types").UnitConfigT<"Psr">;
readonly 12: import("./types").UnitConfigT<"Tsr">;
readonly 9: import("./types").UnitConfigT<"Gsr">;
readonly 6: import("./types").UnitConfigT<"Msr">;
readonly 3: import("./types").UnitConfigT<"ksr">;
readonly 2: import("./types").UnitConfigT<"hsr">;
readonly 1: import("./types").UnitConfigT<"dasr">;
readonly 0: import("./types").UnitConfigT<"sr">;
readonly [-1]: import("./types").UnitConfigT<"dsr">;
readonly [-2]: import("./types").UnitConfigT<"csr">;
readonly [-3]: import("./types").UnitConfigT<"msr">;
readonly [-6]: import("./types").UnitConfigT<"µsr">;
readonly [-9]: import("./types").UnitConfigT<"nsr">;
readonly [-12]: import("./types").UnitConfigT<"psr">;
readonly [-15]: import("./types").UnitConfigT<"fsr">;
readonly [-18]: import("./types").UnitConfigT<"asr">;
readonly [-21]: import("./types").UnitConfigT<"zsr">;
readonly [-24]: import("./types").UnitConfigT<"ysr">;
readonly [-27]: import("./types").UnitConfigT<"rsr">;
readonly [-30]: import("./types").UnitConfigT<"qsr">;
readonly '30': import("./types").UnitConfigT<"Qsr">;
readonly '27': import("./types").UnitConfigT<"Rsr">;
readonly '24': import("./types").UnitConfigT<"Ysr">;
readonly '21': import("./types").UnitConfigT<"Zsr">;
readonly '18': import("./types").UnitConfigT<"Esr">;
readonly '15': import("./types").UnitConfigT<"Psr">;
readonly '12': import("./types").UnitConfigT<"Tsr">;
readonly '9': import("./types").UnitConfigT<"Gsr">;
readonly '6': import("./types").UnitConfigT<"Msr">;
readonly '3': import("./types").UnitConfigT<"ksr">;
readonly '2': import("./types").UnitConfigT<"hsr">;
readonly '1': import("./types").UnitConfigT<"dasr">;
readonly '0': import("./types").UnitConfigT<"sr">;
readonly '-1': import("./types").UnitConfigT<"dsr">;
readonly '-2': import("./types").UnitConfigT<"csr">;
readonly '-3': import("./types").UnitConfigT<"msr">;
readonly '-6': import("./types").UnitConfigT<"µsr">;
readonly '-9': import("./types").UnitConfigT<"nsr">;
readonly '-12': import("./types").UnitConfigT<"psr">;
readonly '-15': import("./types").UnitConfigT<"fsr">;
readonly '-18': import("./types").UnitConfigT<"asr">;
readonly '-21': import("./types").UnitConfigT<"zsr">;
readonly '-24': import("./types").UnitConfigT<"ysr">;
readonly '-27': import("./types").UnitConfigT<"rsr">;
readonly '-30': import("./types").UnitConfigT<"qsr">;
}>;
readonly pascal: Readonly<{
readonly 30: import("./types").UnitConfigT<"QPa">;
readonly 27: import("./types").UnitConfigT<"RPa">;
readonly 24: import("./types").UnitConfigT<"YPa">;
readonly 21: import("./types").UnitConfigT<"ZPa">;
readonly 18: import("./types").UnitConfigT<"EPa">;
readonly 15: import("./types").UnitConfigT<"PPa">;
readonly 12: import("./types").UnitConfigT<"TPa">;
readonly 9: import("./types").UnitConfigT<"GPa">;
readonly 6: import("./types").UnitConfigT<"MPa">;
readonly 3: import("./types").UnitConfigT<"kPa">;
readonly 2: import("./types").UnitConfigT<"hPa">;
readonly 1: import("./types").UnitConfigT<"daPa">;
readonly 0: import("./types").UnitConfigT<"Pa">;
readonly [-1]: import("./types").UnitConfigT<"dPa">;
readonly [-2]: import("./types").UnitConfigT<"cPa">;
readonly [-3]: import("./types").UnitConfigT<"mPa">;
readonly [-6]: import("./types").UnitConfigT<"µPa">;
readonly [-9]: import("./types").UnitConfigT<"nPa">;
readonly [-12]: import("./types").UnitConfigT<"pPa">;
readonly [-15]: import("./types").UnitConfigT<"fPa">;
readonly [-18]: import("./types").UnitConfigT<"aPa">;
readonly [-21]: import("./types").UnitConfigT<"zPa">;
readonly [-24]: import("./types").UnitConfigT<"yPa">;
readonly [-27]: import("./types").UnitConfigT<"rPa">;
readonly [-30]: import("./types").UnitConfigT<"qPa">;
readonly '30': import("./types").UnitConfigT<"QPa">;
readonly '27': import("./types").UnitConfigT<"RPa">;
readonly '24': import("./types").UnitConfigT<"YPa">;
readonly '21': import("./types").UnitConfigT<"ZPa">;
readonly '18': import("./types").UnitConfigT<"EPa">;
readonly '15': import("./types").UnitConfigT<"PPa">;
readonly '12': import("./types").UnitConfigT<"TPa">;
readonly '9': import("./types").UnitConfigT<"GPa">;
readonly '6': import("./types").UnitConfigT<"MPa">;
readonly '3': import("./types").UnitConfigT<"kPa">;
readonly '2': import("./types").UnitConfigT<"hPa">;
readonly '1': import("./types").UnitConfigT<"daPa">;
readonly '0': import("./types").UnitConfigT<"Pa">;
readonly '-1': import("./types").UnitConfigT<"dPa">;
readonly '-2': import("./types").UnitConfigT<"cPa">;
readonly '-3': import("./types").UnitConfigT<"mPa">;
readonly '-6': import("./types").UnitConfigT<"µPa">;
readonly '-9': import("./types").UnitConfigT<"nPa">;
readonly '-12': import("./types").UnitConfigT<"pPa">;
readonly '-15': import("./types").UnitConfigT<"fPa">;
readonly '-18': import("./types").UnitConfigT<"aPa">;
readonly '-21': import("./types").UnitConfigT<"zPa">;
readonly '-24': import("./types").UnitConfigT<"yPa">;
readonly '-27': import("./types").UnitConfigT<"rPa">;
readonly '-30': import("./types").UnitConfigT<"qPa">;
}>;
readonly psi: Readonly<{
readonly 0: import("./types").UnitConfigT<"psi">;
readonly '0': import("./types").UnitConfigT<"psi">;
}>;
readonly bar: Readonly<{
readonly 0: import("./types").UnitConfigT<"bar">;
readonly '0': import("./types").UnitConfigT<"bar">;
}>;
readonly bel: Readonly<{
readonly 30: import("./types").UnitConfigT<"QB">;
readonly 27: import("./types").UnitConfigT<"RB">;
readonly 24: import("./types").UnitConfigT<"YB">;
readonly 21: import("./types").UnitConfigT<"ZB">;
readonly 18: import("./types").UnitConfigT<"EB">;
readonly 15: import("./types").UnitConfigT<"PB">;
readonly 12: import("./types").UnitConfigT<"TB">;
readonly 9: import("./types").UnitConfigT<"GB">;
readonly 6: import("./types").UnitConfigT<"MB">;
readonly 3: import("./types").UnitConfigT<"kB">;
readonly 2: import("./types").UnitConfigT<"hB">;
readonly 1: import("./types").UnitConfigT<"daB">;
readonly 0: import("./types").UnitConfigT<"B">;
readonly [-1]: import("./types").UnitConfigT<"dB">;
readonly [-2]: import("./types").UnitConfigT<"cB">;
readonly [-3]: import("./types").UnitConfigT<"mB">;
readonly [-6]: import("./types").UnitConfigT<"µB">;
readonly [-9]: import("./types").UnitConfigT<"nB">;
readonly [-12]: import("./types").UnitConfigT<"pB">;
readonly [-15]: import("./types").UnitConfigT<"fB">;
readonly [-18]: import("./types").UnitConfigT<"aB">;
readonly [-21]: import("./types").UnitConfigT<"zB">;
readonly [-24]: import("./types").UnitConfigT<"yB">;
readonly [-27]: import("./types").UnitConfigT<"rB">;
readonly [-30]: import("./types").UnitConfigT<"qB">;
readonly '30': import("./types").UnitConfigT<"QB">;
readonly '27': import("./types").UnitConfigT<"RB">;
readonly '24': import("./types").UnitConfigT<"YB">;
readonly '21': import("./types").UnitConfigT<"ZB">;
readonly '18': import("./types").UnitConfigT<"EB">;
readonly '15': import("./types").UnitConfigT<"PB">;
readonly '12': import("./types").UnitConfigT<"TB">;
readonly '9': import("./types").UnitConfigT<"GB">;
readonly '6': import("./types").UnitConfigT<"MB">;
readonly '3': import("./types").UnitConfigT<"kB">;
readonly '2': import("./types").UnitConfigT<"hB">;
readonly '1': import("./types").UnitConfigT<"daB">;
readonly '0': import("./types").UnitConfigT<"B">;
readonly '-1': import("./types").UnitConfigT<"dB">;
readonly '-2': import("./types").UnitConfigT<"cB">;
readonly '-3': import("./types").UnitConfigT<"mB">;
readonly '-6': import("./types").UnitConfigT<"µB">;
readonly '-9': import("./types").UnitConfigT<"nB">;
readonly '-12': import("./types").UnitConfigT<"pB">;
readonly '-15': import("./types").UnitConfigT<"fB">;
readonly '-18': import("./types").UnitConfigT<"aB">;
readonly '-21': import("./types").UnitConfigT<"zB">;
readonly '-24': import("./types").UnitConfigT<"yB">;
readonly '-27': import("./types").UnitConfigT<"rB">;
readonly '-30': import("./types").UnitConfigT<"qB">;
}>;
readonly kelvin: Readonly<{
readonly 0: import("./types").UnitConfigT<"K">;
readonly '0': import("./types").UnitConfigT<"K">;
}>;
readonly degree_celsius: Readonly<{
readonly 0: import("./types").UnitConfigT<"°C">;
readonly '0': import("./types").UnitConfigT<"°C">;
}>;
readonly degree_fahrenheit: Readonly<{
readonly 0: import("./types").UnitConfigT<"°F">;
readonly '0': import("./types").UnitConfigT<"°F">;
}>;
readonly degree_rankine: Readonly<{
readonly 0: import("./types").UnitConfigT<"°R">;
readonly '0': import("./types").UnitConfigT<"°R">;
}>;
readonly second: Readonly<{
readonly 30: import("./types").UnitConfigT<"Qs">;
readonly 27: import("./types").UnitConfigT<"Rs">;
readonly 24: import("./types").UnitConfigT<"Ys">;
readonly 21: import("./types").UnitConfigT<"Zs">;
readonly 18: import("./types").UnitConfigT<"Es">;
readonly 15: import("./types").UnitConfigT<"Ps">;
readonly 12: import("./types").UnitConfigT<"Ts">;
readonly 9: import("./types").UnitConfigT<"Gs">;
readonly 6: import("./types").UnitConfigT<"Ms">;
readonly 3: import("./types").UnitConfigT<"ks">;
readonly 2: import("./types").UnitConfigT<"hs">;
readonly 1: import("./types").UnitConfigT<"das">;
readonly 0: import("./types").UnitConfigT<"s">;
readonly [-1]: import("./types").UnitConfigT<"ds">;
readonly [-2]: import("./types").UnitConfigT<"cs">;
readonly [-3]: import("./types").UnitConfigT<"ms">;
readonly [-6]: import("./types").UnitConfigT<"µs">;
readonly [-9]: import("./types").UnitConfigT<"ns">;
readonly [-12]: import("./types").UnitConfigT<"ps">;
readonly [-15]: import("./types").UnitConfigT<"fs">;
readonly [-18]: import("./types").UnitConfigT<"as">;
readonly [-21]: import("./types").UnitConfigT<"zs">;
readonly [-24]: import("./types").UnitConfigT<"ys">;
readonly [-27]: import("./types").UnitConfigT<"rs">;
readonly [-30]: import("./types").UnitConfigT<"qs">;
readonly '30': import("./types").UnitConfigT<"Qs">;
readonly '27': import("./types").UnitConfigT<"Rs">;
readonly '24': import("./types").UnitConfigT<"Ys">;
readonly '21': import("./types").UnitConfigT<"Zs">;
readonly '18': import("./types").UnitConfigT<"Es">;
readonly '15': import("./types").UnitConfigT<"Ps">;
readonly '12': import("./types").UnitConfigT<"Ts">;
readonly '9': import("./types").UnitConfigT<"Gs">;
readonly '6': import("./types").UnitConfigT<"Ms">;
readonly '3': import("./types").UnitConfigT<"ks">;
readonly '2': import("./types").UnitConfigT<"hs">;
readonly '1': import("./types").UnitConfigT<"das">;
readonly '0': import("./types").UnitConfigT<"s">;
readonly '-1': import("./types").UnitConfigT<"ds">;
readonly '-2': import("./types").UnitConfigT<"cs">;
readonly '-3': import("./types").UnitConfigT<"ms">;
readonly '-6': import("./types").UnitConfigT<"µs">;
readonly '-9': import("./types").UnitConfigT<"ns">;
readonly '-12': import("./types").UnitConfigT<"ps">;
readonly '-15': import("./types").UnitConfigT<"fs">;
readonly '-18': import("./types").UnitConfigT<"as">;
readonly '-21': import("./types").UnitConfigT<"zs">;
readonly '-24': import("./types").UnitConfigT<"ys">;
readonly '-27': import("./types").UnitConfigT<"rs">;
readonly '-30': import("./types").UnitConfigT<"qs">;
}>;
readonly hour: Readonly<{
readonly 0: import("./types").UnitConfigT<"s">;
readonly 1: import("./types").UnitConfigT<"min">;
readonly 2: import("./types").UnitConfigT<"h">;
readonly '0': import("./types").UnitConfigT<"s">;
readonly '1': import("./types").UnitConfigT<"min">;
readonly '2': import("./types").UnitConfigT<"h">;
}>;
readonly day: Readonly<{
readonly 0: import("./types").UnitConfigT<"d">;
readonly '0': import("./types").UnitConfigT<"d">;
}>;
readonly week: Readonly<{
readonly 0: import("./types").UnitConfigT<"w">;
readonly '0': import("./types").UnitConfigT<"w">;
}>;
readonly month: Readonly<{
readonly 0: import("./types").UnitConfigT<"mo">;
readonly '0': import("./types").UnitConfigT<"mo">;
}>;
readonly year: Readonly<{
readonly 0: import("./types").UnitConfigT<"y">;
readonly '0': import("./types").UnitConfigT<"y">;
}>;
readonly count: Readonly<{
readonly 0: import("./types").UnitConfigT<"">;
readonly '0': import("./types").UnitConfigT<"">;
}>;
readonly request: Readonly<{
readonly 0: import("./types").UnitConfigT<"request">;
readonly '0': import("./types").UnitConfigT<"request">;
}>;
readonly core: Readonly<{
readonly 0: import("./types").UnitConfigT<"core">;
readonly [-3]: import("./types").UnitConfigT<"millicore">;
readonly '0': import("./types").UnitConfigT<"core">;
readonly '-3': import("./types").UnitConfigT<"mcore">;
}>;
readonly million_service_units: Readonly<{
readonly 0: import("./types").UnitConfigT<"MSU">;
readonly '0': import("./types").UnitConfigT<"MSU">;
}>;
readonly pixel: Readonly<{
readonly 0: import("./types").UnitConfigT<"px">;
readonly 6: import("./types").UnitConfigT<"MP">;
readonly 9: import("./types").UnitConfigT<"GP">;
readonly '0': import("./types").UnitConfigT<"px">;
readonly '6': import("./types").UnitConfigT<"MP">;
readonly '9': import("./types").UnitConfigT<"GP">;
}>;
readonly ratio: Readonly<{
readonly 0: import("./types").UnitConfigT<"ratio">;
readonly '0': import("./types").UnitConfigT<"ratio">;
}>;
readonly state: Readonly<{
readonly 0: import("./types").UnitConfigT<"state">;
readonly '0': import("./types").UnitConfigT<"state">;
}>;
readonly unspecified: Readonly<{
readonly 0: import("./types").UnitConfigT<"unspecified">;
readonly '0': import("./types").UnitConfigT<"unspecified">;
}>;
readonly none: Readonly<{
readonly 0: import("./types").UnitConfigT<"">;
readonly '0': import("./types").UnitConfigT<"">;
}>;
};

@@ -9,5 +9,6 @@ import { properties } from './properties';

*/
export declare type GlobalWithOptionalSDKWeb = {
export type GlobalWithOptionalSDKWeb = {
dtSdk?: {
getRegionalFormat(): string;
getTimezone?(): string;
};

@@ -34,15 +35,15 @@ } & typeof globalThis;

}
export declare type UnitDictionary<G extends Group, T extends PrefixTable, E extends number, S extends string> = Readonly<{
export type UnitDictionary<G extends Group, T extends PrefixTable, E extends number, S extends string> = Readonly<{
[K in keyof T as `${T[K]}${S}`]: K extends `${infer I extends number}` ? [PackT<G, I, E>] : never;
}>;
export declare type PropertyDictionary<T extends string, Q extends string> = Readonly<{
export type PropertyDictionary<T extends string, Q extends string> = Readonly<{
[P in T]: UnitProperties<Q>;
}>;
export declare type Quantities = {
export type Quantities = {
[P in keyof typeof properties]: (typeof properties)[P] extends UnitProperties<infer T> ? T : never;
};
export declare type Tuple<T> = readonly T[] | readonly [];
export declare type Convertible = keyof Quantities;
export declare type ConvertiblePack = ConvertiblePackT<Convertible, number, number>;
export declare type ConvertiblePackT<G extends Convertible, I extends number, E extends number> = PackT<G, I, E>;
export type Tuple<T> = readonly T[] | readonly [];
export type Convertible = keyof Quantities;
export type ConvertiblePack = ConvertiblePackT<Convertible, number, number>;
export type ConvertiblePackT<G extends Convertible, I extends number, E extends number> = PackT<G, I, E>;
/**

@@ -56,10 +57,10 @@ * A convertible unit (e.g. meters, byte, kilogram, meters/second).

*/
export declare type ConvertibleUnit = Tuple<ConvertiblePack>;
declare type Formattable = keyof typeof symbols;
export declare type FormattablePack = FormattablePackT<Formattable, number, number>;
export declare type FormattablePackT<G extends Formattable, I extends number, E extends number> = PackT<G, I, E>;
export declare type FormattableUnit = Tuple<FormattablePack>;
export declare type Group = Convertible | Formattable;
export declare type Pack = PackT<Group, number, number>;
export declare type PackT<G extends Group, I extends number, E extends number> = Readonly<{
export type ConvertibleUnit = Tuple<ConvertiblePack>;
type Formattable = keyof typeof symbols;
export type FormattablePack = FormattablePackT<Formattable, number, number>;
export type FormattablePackT<G extends Formattable, I extends number, E extends number> = PackT<G, I, E>;
export type FormattableUnit = Tuple<FormattablePack>;
export type Group = Convertible | Formattable;
export type Pack = PackT<Group, number, number>;
export type PackT<G extends Group, I extends number, E extends number> = Readonly<{
group: G;

@@ -69,20 +70,20 @@ index: I;

}>;
export declare type Unit = Tuple<Pack>;
export declare type isFormattable<T extends Unit> = T extends FormattableUnit ? true : false;
export declare type isConvertible<T extends Unit | string> = T extends ConvertibleUnit ? true : false;
export declare type OutputUnit<T extends Unit | string, U extends ConvertibleUnit> = T extends ConvertibleUnit ? ConvertibleTarget<T, U> : never;
export declare type ToCascade<T extends Unit | string> = isConvertible<T> extends true ? number : never;
export declare type ValueUnit = {
export type Unit = Tuple<Pack>;
export type isFormattable<T extends Unit> = T extends FormattableUnit ? true : false;
export type isConvertible<T extends Unit | string> = T extends ConvertibleUnit ? true : false;
export type OutputUnit<T extends Unit | string, U extends ConvertibleUnit> = T extends ConvertibleUnit ? ConvertibleTarget<T, U> : never;
export type ToCascade<T extends Unit | string> = isConvertible<T> extends true ? number : never;
export type ValueUnit = {
value: number;
unit: ConvertibleUnit;
};
export declare type ValueUnitList = ValueUnit[];
export declare type ArrayLength<A> = A extends {
export type ValueUnitList = ValueUnit[];
export type ArrayLength<A> = A extends {
length: infer L;
} ? L : never;
export declare type VariantPack<P1 extends ConvertiblePack, P2 extends ConvertiblePack> = P1['exponent'] extends P2['exponent'] ? Quantities[P1['group']] extends Quantities[P2['group']] ? true : false : false;
export declare type VariantUnitImpl<U1 extends ConvertibleUnit, U2 extends ConvertibleUnit> = U1 extends [] ? true : U1 extends [infer P1 extends ConvertiblePack, ...infer R1 extends ConvertibleUnit] ? U2 extends [infer P2 extends ConvertiblePack, ...infer R2 extends ConvertibleUnit] ? VariantPack<P1, P2> extends true ? VariantUnitImpl<R1, R2> : false : never : never;
export declare type VariantUnit<U1 extends ConvertibleUnit, U2 extends ConvertibleUnit> = ArrayLength<U1> extends ArrayLength<U2> ? VariantUnitImpl<U1, U2> : false;
export declare type ConvertibleTarget<U1 extends ConvertibleUnit, U2 extends ConvertibleUnit> = VariantUnit<U1, U2> extends true ? U2 : never;
export declare type Invert<T extends number | string> = ({
export type VariantPack<P1 extends ConvertiblePack, P2 extends ConvertiblePack> = P1['exponent'] extends P2['exponent'] ? Quantities[P1['group']] extends Quantities[P2['group']] ? true : false : false;
export type VariantUnitImpl<U1 extends ConvertibleUnit, U2 extends ConvertibleUnit> = U1 extends [] ? true : U1 extends [infer P1 extends ConvertiblePack, ...infer R1 extends ConvertibleUnit] ? U2 extends [infer P2 extends ConvertiblePack, ...infer R2 extends ConvertibleUnit] ? VariantPack<P1, P2> extends true ? VariantUnitImpl<R1, R2> : false : never : never;
export type VariantUnit<U1 extends ConvertibleUnit, U2 extends ConvertibleUnit> = ArrayLength<U1> extends ArrayLength<U2> ? VariantUnitImpl<U1, U2> : false;
export type ConvertibleTarget<U1 extends ConvertibleUnit, U2 extends ConvertibleUnit> = VariantUnit<U1, U2> extends true ? U2 : never;
export type Invert<T extends number | string> = ({
'-15': 15;

@@ -122,3 +123,3 @@ '-14': 14;

})[`${T}`];
export declare type Square<T extends number | string> = ({
export type Square<T extends number | string> = ({
'-15': -30;

@@ -158,3 +159,3 @@ '-14': -28;

})[`${T}`];
export declare type Cubic<T extends number | string> = ({
export type Cubic<T extends number | string> = ({
'-15': -45;

@@ -198,4 +199,4 @@ '-14': -42;

}
declare type Assume<T, U> = T extends U ? T : U;
declare type Apply<F extends HKT, _1> = (F & {
type Assume<T, U> = T extends U ? T : U;
type Apply<F extends HKT, _1> = (F & {
readonly _1: _1;

@@ -212,7 +213,7 @@ })['new'] extends infer _F extends (...args: any) => any ? ReturnType<_F> : never;

}
export declare type ApplyUnit<F extends HKT, U extends Unit, O extends Unit = []> = U extends [] ? O : U extends [PackT<infer G, infer I, infer E>, ...infer R extends Unit] ? ApplyUnit<F, R, [...O, PackT<G, I, Apply<F, E>>]> : never;
export declare type InvertUnit<U extends Unit> = ApplyUnit<InvertHKT, U>;
export declare type SquareUnit<U extends Unit> = ApplyUnit<SquareHKT, U>;
export declare type CubicUnit<U extends Unit> = ApplyUnit<CubicHKT, U>;
export declare type PrefixTable = {
export type ApplyUnit<F extends HKT, U extends Unit, O extends Unit = []> = U extends [] ? O : U extends [PackT<infer G, infer I, infer E>, ...infer R extends Unit] ? ApplyUnit<F, R, [...O, PackT<G, I, Apply<F, E>>]> : never;
export type InvertUnit<U extends Unit> = ApplyUnit<InvertHKT, U>;
export type SquareUnit<U extends Unit> = ApplyUnit<SquareHKT, U>;
export type CubicUnit<U extends Unit> = ApplyUnit<CubicHKT, U>;
export type PrefixTable = {
[key: string]: string;

@@ -223,3 +224,3 @@ };

};
export declare type GenerateOptions<T extends PrefixTable = typeof DefaultPrefixTable> = {
export type GenerateOptions<T extends PrefixTable = typeof DefaultPrefixTable> = {
prefixes: T;

@@ -229,3 +230,3 @@ mode: Mode;

};
export declare type GenerateOutput<S extends string, T extends PrefixTable> = Readonly<{
export type GenerateOutput<S extends string, T extends PrefixTable> = Readonly<{
[K in keyof T]: UnitConfigT<`${T[K]}${S}`>;

@@ -237,4 +238,4 @@ }>;

}
export declare type UnitConfig = UnitConfigT<string>;
export declare type UnitConfigT<S extends string> = {
export type UnitConfig = UnitConfigT<string>;
export type UnitConfigT<S extends string> = {
symbol: S;

@@ -244,3 +245,3 @@ mode: Mode;

};
export declare type UndefinedCoalescing<T, U> = T extends undefined ? U : T;
export type UndefinedCoalescing<T, U> = T extends undefined ? U : T;
export {};

@@ -1,2 +0,2 @@

import { ConvertibleUnit, PackT, Group, PropertyDictionary, InvertUnit, SquareUnit, CubicUnit, UnitDictionary, UnitConfig, PrefixTable, DefaultPrefixTable, GenerateOptions, GenerateOutput } from './types';
import { ConvertibleUnit, Pack, PackT, Group, PropertyDictionary, InvertUnit, SquareUnit, CubicUnit, Unit, UnitDictionary, UnitConfig, PrefixTable, DefaultPrefixTable, GenerateOptions, GenerateOutput } from './types';
export declare function overwrite(...sets: {

@@ -31,2 +31,4 @@ [key: string]: UnitConfig;

*/
export declare function unit<Q extends string>(quantity: Q): <N extends string>(name: N, value: number, base?: number) => Readonly<{ [P in N]: import("./types").UnitProperties<Q>; }>;
export declare function unit<Q extends string>(quantity: Q): <N extends string>(name: N, value: number, base?: number) => PropertyDictionary<N, Q>;
export declare function hashPack({ group, index, exponent }: Pack): string;
export declare function hash(unit: Unit): string;
import { Unit } from './types';
declare type Variants<U extends Unit> = string[];
declare type VariantNames<U extends Unit> = string[];
declare type VariantUnits<U extends Unit> = Unit[];
type Variants<U extends Unit> = string[];
type VariantNames<U extends Unit> = string[];
type VariantUnits<U extends Unit> = Unit[];
export declare function isConvertibleUnit(unit: Unit): boolean;

@@ -6,0 +6,0 @@ export declare function variants<U extends Unit>(unit: U): Variants<U>[];

@@ -1,52 +0,34 @@

/** Units of exponential numbers, i.e. kilo, million, ect. */
declare type ExponentialNumberUnitType = 'k' | 'M' | 'G' | 'T' | 'P' | 'E' | 'Z' | 'Y' | 'R' | 'Q';
/** Units of data in bytes */
declare type DataUnitByteType = 'byte' | 'KiB' | 'MiB' | 'GiB' | 'TiB' | 'PiB' | 'EiB' | 'ZiB' | 'YiB' | 'RiB' | 'QiB';
/** Units of data in bits */
declare type DataUnitBitType = 'bit' | 'Kibit' | 'Mibit' | 'Gibit' | 'Tibit' | 'Pibit' | 'Eibit' | 'Zibit' | 'Yibit' | 'Ribit' | 'Qibit';
import { AdjustFractionDigitsOptions } from './adjust-maximum-fraction-digits';
type Scale = {
base: number;
levels: string[];
};
/**
* Levels of abbreviations for decimal exponents from kilo to nonillion,
* Abbreviation levels for decimal metric prefixes from kilo to quecto,
* 10^3, 10^6, ...
*/
export declare const ExponentialDecimalLevels: Array<{
multiplier: number;
postfix: ExponentialNumberUnitType;
}>;
export declare const ExponentialDecimalLevels: {
base: number;
levels: string[];
};
/**
* Levels of abbreviation for octal bit exponents from kilobit to quebibit,
* 2^10, 2^20, 2^30...
* Abbreviation levels for bit binary prefixes from kilobit to quebibit,
* 2^10, 2^20, ...
*/
export declare const ExponentialOctalBitLevels: Array<{
multiplier: number;
postfix: DataUnitBitType;
}>;
export declare const ExponentialOctalBitLevels: {
base: number;
levels: string[];
};
/**
* Levels of abbreviation for octal byte exponents from kibibyte to quebibyte,
* 2^10, 2^20, 2^30...
* Abbreviation levels for byte binary prefixes from kibibyte to quebibyte,
* 2^10, 2^20, ...
*/
export declare const ExponentialOctalByteLevels: Array<{
multiplier: number;
postfix: DataUnitByteType;
}>;
export interface AbbreviateOptions {
/** Minimum number of decimal places.*/
minimumFractionDigits?: number;
/** Maximum number of decimal places.*/
maximumFractionDigits?: number;
/** The locale according to which the number will abbreviate. */
locale?: string | string[];
/** Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators */
useGrouping?: boolean;
}
export declare const defaultAbbreviateOptions: {
scale: {
multiplier: number;
postfix: ExponentialNumberUnitType;
}[];
options: {};
export declare const ExponentialOctalByteLevels: {
base: number;
levels: string[];
};
/**
* Abbreviates large numbers to a shorter format. Example:
* Abbreviate large numbers to a shorter format. Example:
* ```typescript
* import { abbreviateNumber } from "@dynatrace-sdk/units";
* import { abbreviateNumber } from '@dynatrace-sdk/units';
* abbreviateNumber(1500) // '1.5K'

@@ -56,5 +38,3 @@ * ```

export declare function abbreviateNumber(
/**
* Number to be abbreviated.
*/
/** Number to be abbreviated. */
input: number,

@@ -67,6 +47,3 @@ /**

*/
scale?: Array<{
multiplier: number;
postfix: string;
}>, options?: AbbreviateOptions): {
scale?: Scale, options?: AdjustFractionDigitsOptions): {
formattedValue: string;

@@ -73,0 +50,0 @@ postfix: string;

export interface AdjustFractionDigitsOptions {
/** Minimum number of decimal places. */
/** Minimum number of decimal digits. */
minimumFractionDigits?: number;
/** Maximum number of decimal places. */
/** Maximum number of decimal digits. */
maximumFractionDigits?: number;
/** The locale according to which the number will be adjusted. */
locale?: string | string[];
/** Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators */
/** Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators. */
useGrouping?: boolean;
}
/**
* Adjust number of decimals.
* Adjust number of fractional digits.
* @param input The number to be formatted.
* @param options
* @returns A formatted number as a string.
* @returns The formatted number as a string.
*/
export declare function adjustFractionDigits(
/** Input number that should be abbreviated. */
input: number, options?: AdjustFractionDigitsOptions): string;
export declare function adjustFractionDigits(input: number, options?: AdjustFractionDigitsOptions): string;
import type { Unit, FormattableUnit, ConvertibleUnit, OutputUnit, FormattablePack, UndefinedCoalescing } from '../util-convert/types';
declare type Formatting = {
type Formatting = {
separator: string;

@@ -9,2 +9,3 @@ symbol: string;

export declare const DEFAULT_LOCALE = "en-US";
export declare const DEFAULT_TIMEZONE = "Europe/London";
declare const DEFAULT_UNIT: [Readonly<{

@@ -15,3 +16,3 @@ group: "none";

}>];
declare type DEFAULT_UNIT_TYPE = typeof DEFAULT_UNIT;
type DEFAULT_UNIT_TYPE = typeof DEFAULT_UNIT;
/**

@@ -110,3 +111,5 @@ * Takes a single unit building block and formats it.

export declare function safeLocale(locale: string | string[]): string | string[];
export declare function normLocale(locale?: string | string[]): string | string[];
export declare function removeLocaleLVariant(locale: string): string;
export declare function getTimezone(): string;
export {};

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc