import * as $ from '@manahippo/move-to-ts'; import { AptosDataCache, AptosParserRepo, AptosLocalCache } from '@manahippo/move-to-ts'; import { U64 } 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 = "PancakeSwap"; export declare const moduleAddress: HexString; export declare const moduleName = "swap"; export declare const ERROR_INSUFFICIENT_OUTPUT_AMOUNT: U64; export declare const RESOURCE_ACCOUNT: HexString; export declare class TokenPairReserve { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; reserve_x: U64; reserve_y: U64; block_timestamp_last: U64; constructor(proto: any, typeTag: TypeTag); static TokenPairReserveParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TokenPairReserve; static load(repo: AptosParserRepo, client: AptosClient, address: HexString, typeParams: TypeTag[]): Promise; static loadByApp(app: $.AppType, address: HexString, typeParams: TypeTag[]): Promise; static makeTag($p: TypeTag[]): StructTag; loadFullState(app: $.AppType): Promise; } export declare function token_reserves_($c: AptosDataCache, $p: TypeTag[]): [U64, U64, U64]; 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 TokenPairReserve(): typeof TokenPairReserve; loadTokenPairReserve(owner: HexString, $p: TypeTag[], loadFull?: boolean, fillCache?: boolean): Promise; } //# sourceMappingURL=swap.d.ts.map