import { Vault } from "../../../src/typus-dov-single-v2"; import { TOKEN } from "../../../src/constants"; export { getNewBidFromSentio, getExerciseFromSentio } from "../../../src/utils/api/sentio/events"; import { SuiGraphQLClient } from "@mysten/sui/graphql"; export declare function getUserEvents(graphQlClient: SuiGraphQLClient, sender: string, cursor?: string | null): Promise<{ events: import("../../../src/utils/graphQl").Event[]; beforeCursor: string | null; }>; export interface TxHistory { Index: string | undefined; Action: string | undefined; Period: string | undefined; Amount: string | undefined; Vault: string | undefined; RiskLevel: string | undefined; Tails: string | undefined; Exp: string | undefined; Date: Date; txDigest: string; } export declare function parseTxHistory(datas: Array, vaults: { [key: string]: Vault; }): Promise>; export declare function parseVaultInfo(vaults: { [key: string]: Vault; }, Index: string, action: string): [string | undefined, string | undefined, string | undefined, TOKEN | undefined, TOKEN | undefined, TOKEN | undefined]; export declare function getDepositorCashFlows(userHistory: TxHistory[]): Map; export interface DepositorCashFlow { D_TOKEN: string | undefined; totalDeposit: number; totalWithdraw: number; totalClaim: number; totalCompound: number; netDeposit: number | undefined; totalHarvest: Map; } export declare function getGraphQLEvents(module: string, sender: string): Promise;