import { IToXmlOptions } from '../options.ts'; import { IElement } from '../util.ts'; import { Value } from '../value.ts'; /** * ValueInteger object. */ export declare class ValueInteger extends Value { /** * Value type. */ static readonly TYPE = "integer"; /** * Tag names. */ static readonly TAG_NAMES: string[]; /** * Value value. */ value: number | bigint; /** * ValueInteger constructor. * * @param value The value. */ constructor(value?: number | bigint); /** * Get value as BigInt. * * @returns Value as a BigInt. */ asBigInt(): bigint; /** * Get value as Number, possibly losing some precision. * * @returns Value as a Number. */ asNumber(): number; /** * @inheritdoc */ fromXmlElement(element: Readonly): void; /** * @inheritdoc */ toXml(options?: Readonly | null, depth?: number): string; }