declare type WeightText = string; export declare const isWeightString: (someValue: any) => someValue is string; export default class Weight { readonly amount: number; readonly unit = "g"; readonly displayText: WeightText; constructor(amountInGrams: number); toKg(): number; toKgDisplayText(): string; static fromKg(amountInKg: number): Weight; static parse(data: string): Weight; } export declare const isWeight: (someValue: any) => someValue is Weight; export declare const asWeight: (someValue: any) => Weight; export {};