import * as $ from '@manahippo/move-to-ts'; import { AptosDataCache, AptosParserRepo, AptosLocalCache } from '@manahippo/move-to-ts'; import { U8, U64, U128 } from '@manahippo/move-to-ts'; import { TypeParamDeclType, FieldDeclType } from '@manahippo/move-to-ts'; import { StructTag, TypeTag } from '@manahippo/move-to-ts'; import { HexString, AptosClient } from 'aptos'; export declare const packageName = "FixedPoint64"; export declare const moduleAddress: HexString; export declare const moduleName = "fixed_point64"; export declare const EQUAL: U8; export declare const ERR_DIVIDE_BY_ZERO: U64; export declare const ERR_DIVIDE_RESULT_TOO_LARGE: U64; export declare const ERR_DIVISOR_TOO_SMALL: U64; export declare const GREATER_THAN: U8; export declare const LESS_THAN: U8; export declare const TWO_POW_32: U128; export declare const TWO_POW_64: U128; export declare class FixedPoint64 { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; v: U128; constructor(proto: any, typeTag: TypeTag); static FixedPoint64Parser(data: any, typeTag: TypeTag, repo: AptosParserRepo): FixedPoint64; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare function add_(fp: FixedPoint64, y: U64, $c: AptosDataCache): FixedPoint64; export declare function add_fp_(a: FixedPoint64, b: FixedPoint64, $c: AptosDataCache): FixedPoint64; export declare function compare_(left: FixedPoint64, right: FixedPoint64, $c: AptosDataCache): U8; export declare function decode_(fp: FixedPoint64, $c: AptosDataCache): U64; export declare function decode_round_down_(fp: FixedPoint64, $c: AptosDataCache): U64; export declare function decode_round_up_(fp: FixedPoint64, $c: AptosDataCache): U64; export declare function div_(fp: FixedPoint64, y: U64, $c: AptosDataCache): FixedPoint64; export declare function div_fp_(a: FixedPoint64, b: FixedPoint64, $c: AptosDataCache): FixedPoint64; export declare function encode_(x: U64, $c: AptosDataCache): FixedPoint64; export declare function eq_(left: FixedPoint64, right: FixedPoint64, $c: AptosDataCache): boolean; export declare function fraction_(numerator: U64, denominator: U64, $c: AptosDataCache): FixedPoint64; export declare function from_u128_(v: U128, $c: AptosDataCache): FixedPoint64; export declare function gt_(left: FixedPoint64, right: FixedPoint64, $c: AptosDataCache): boolean; export declare function gte_(left: FixedPoint64, right: FixedPoint64, $c: AptosDataCache): boolean; export declare function is_zero_(fp: FixedPoint64, $c: AptosDataCache): boolean; export declare function lt_(left: FixedPoint64, right: FixedPoint64, $c: AptosDataCache): boolean; export declare function lte_(left: FixedPoint64, right: FixedPoint64, $c: AptosDataCache): boolean; export declare function max_(a: FixedPoint64, b: FixedPoint64, $c: AptosDataCache): FixedPoint64; export declare function min_(a: FixedPoint64, b: FixedPoint64, $c: AptosDataCache): FixedPoint64; export declare function mul_(fp: FixedPoint64, y: U64, $c: AptosDataCache): FixedPoint64; export declare function mul_fp_(a: FixedPoint64, b: FixedPoint64, $c: AptosDataCache): FixedPoint64; export declare function one_($c: AptosDataCache): FixedPoint64; export declare function sub_(fp: FixedPoint64, y: U64, $c: AptosDataCache): FixedPoint64; export declare function sub_fp_(a: FixedPoint64, b: FixedPoint64, $c: AptosDataCache): FixedPoint64; export declare function to_u128_(fp: FixedPoint64, $c: AptosDataCache): U128; export declare function zero_($c: AptosDataCache): FixedPoint64; export declare function loadParsers(repo: AptosParserRepo): void; export declare class App { client: AptosClient; repo: AptosParserRepo; cache: AptosLocalCache; constructor(client: AptosClient, repo: AptosParserRepo, cache: AptosLocalCache); get moduleAddress(): HexString; get moduleName(): string; get FixedPoint64(): typeof FixedPoint64; } //# sourceMappingURL=fixed_point64.d.ts.map