UNPKG

wikibase-edit

Version:

Edit Wikibase from NodeJS

10 lines 411 B
import { type QuantitySnakDataValue } from 'wikibase-sdk'; import type { AbsoluteUrl } from '../types/common.js'; export declare function parseQuantity(amount: number | string | QuantitySnakDataValue['value'], instance: AbsoluteUrl): { amount: string; unit: any; upperBound: any; lowerBound: any; }; export declare function parseUnit(unit: string): string; //# sourceMappingURL=quantity.d.ts.map