import { BrsType, BrsBoolean } from "./"; import { ValueKind, Comparable } from "./BrsType"; import { Boxable } from "./Boxing"; import { BrsNumber, Numeric } from "./BrsNumber"; import { Int32 } from "./Int32"; import { Double } from "./Double"; import { Int64 } from "./Int64"; import { roFloat } from "./components/RoFloat"; import Long from "long"; export declare class Float implements Numeric, Comparable, Boxable { readonly kind = ValueKind.Float; private readonly value; getValue(): number; toBoolean(): boolean; /** * Creates a new BrightScript floating-point value representing the provided `value`. * @param value the value to store in the BrightScript float, rounded to 32-bit floating point * precision and maintaining only seven significant digits of accuracy. */ constructor(value: number | Long); /** * Creates a new BrightScript floating-point value representing the floating point value * contained in `asString`. * @param asString the string representation of the value to store in the BrightScript float. * Will be rounded to 32-bit floating point precision. * @returns a BrightScript floating-point value representing `asString`. */ static fromString(asString: string): Float; add(rhs: BrsNumber): BrsNumber; subtract(rhs: BrsNumber): BrsNumber; multiply(rhs: BrsNumber): BrsNumber; divide(rhs: BrsNumber): Float | Double; modulo(rhs: BrsNumber): BrsNumber; intDivide(rhs: BrsNumber): Int32 | Int64; leftShift(rhs: BrsNumber): Int32; rightShift(rhs: BrsNumber): Int32; pow(exponent: BrsNumber): BrsNumber; and(rhs: BrsNumber | BrsBoolean): BrsNumber | BrsBoolean; or(rhs: BrsNumber | BrsBoolean): BrsNumber | BrsBoolean; not(): BrsNumber; lessThan(other: BrsType): BrsBoolean; greaterThan(other: BrsType): BrsBoolean; equalTo(other: BrsType): BrsBoolean; toString(parent?: BrsType): string; box(): roFloat; }