import { ABIDecoder } from "../serializer/decoder.js"; import { ABIEncoder } from "../serializer/encoder.js"; import { ABISerializableObject } from "../serializer/serializable.js"; import { Bytes, BytesType } from "./bytes.js"; type FloatType = Float | number | string; declare class Float implements ABISerializableObject { static abiName: string; static byteWidth: number; static from(this: T, value: FloatType): InstanceType; static from(value: FloatType): unknown; static fromABI(this: T, decoder: ABIDecoder): InstanceType; static fromABI(decoder: ABIDecoder): unknown; static abiDefault(): Float; static random(this: T): InstanceType; static random(): unknown; value: number; constructor(value: number); equals(other: FloatType): boolean; toABI(encoder: ABIEncoder): void; toString(): string; toJSON(): string; } export type Float32Type = Float32 | FloatType; export declare class Float32 extends Float { static abiName: string; static byteWidth: number; toString(): string; } export type Float64Type = Float64 | FloatType; export declare class Float64 extends Float { static abiName: string; static byteWidth: number; } export type Float128Type = Float128 | BytesType; export declare class Float128 implements ABISerializableObject { static abiName: string; static byteWidth: number; static from(value: Float128Type): Float128; static fromABI(decoder: ABIDecoder): Float128; static random(): Float128; data: Bytes; constructor(data: Bytes); equals(other: Float128Type): boolean; toABI(encoder: ABIEncoder): void; toString(): string; toJSON(): string; } export {}; //# sourceMappingURL=float.d.ts.map