import { TransactionArgument, Transaction } from "@mysten/sui/transactions"; import { AftermathApi } from "../../../general/providers/aftermathApi"; import { MixSuiFrensEvent, SuiFrenObject, SuiFrenStats, SuiFrenVaultStateV1Object, StakeSuiFrenEvent, UnstakeSuiFrenEvent, SuiFrenAttributes, SuiFrensSortOption, SuiFrenAccessoryObject, StakedSuiFrenInfo, SuiFrenAccessoryType, ApiMixSuiFrensBody, ApiRemoveSuiFrenAccessoryBody, ApiAddSuiFrenAccessoryBody, HarvestSuiFrenFeesEvent } from "../suiFrensTypes"; import { AnyObjectType, Balance, SuiFrensAddresses, DynamicFieldObjectsWithCursor, DynamicFieldsInputs, EventsInputs, ObjectId, SuiAddress } from "../../../types"; export declare class SuiFrensApi { private readonly Provider; private static readonly constants; readonly addresses: SuiFrensAddresses; readonly objectTypes: { suiFren: AnyObjectType; capy: AnyObjectType; bullshark: AnyObjectType; suiFrenAccessory: AnyObjectType; stakedSuiFrenPosition: AnyObjectType; stakedSuiFrenMetadataV1: AnyObjectType; }; readonly eventTypes: { harvestSuiFrenFees: AnyObjectType; mixSuiFrens: AnyObjectType; stakeSuiFren: AnyObjectType; unstakeSuiFren: AnyObjectType; }; constructor(Provider: AftermathApi); fetchMixingLimitsAndLastEpochMixeds: (inputs: { suiFrenIds: ObjectId[]; suiFrenType: AnyObjectType; }) => Promise<{ mixLimit: bigint | undefined; lastEpochMixed: bigint | undefined; }[]>; fetchMixingLimit: (inputs: { suiFrenId: ObjectId; suiFrenType: AnyObjectType; }) => Promise; fetchLastEpochMixed: (inputs: { suiFrenId: ObjectId; suiFrenType: AnyObjectType; }) => Promise; fetchStakedSuiFrenMetadataIds: (inputs: { suiFrenIds: ObjectId[]; }) => Promise; fetchHarvestSuiFrenFeesEvents: (inputs: EventsInputs) => Promise>; fetchMixSuiFrensEvents: (inputs: EventsInputs) => Promise>; fetchStakeSuiFrenEvents: (inputs: EventsInputs) => Promise>; fetchUnstakeSuiFrenEvents: (inputs: EventsInputs) => Promise>; fetchCapyLabsApp: () => Promise; fetchSuiFrenVaultStateV1Object: () => Promise; fetchSuiFrens: (inputs: { suiFrenIds: ObjectId[]; }) => Promise; fetchOwnedSuiFrens: (inputs: { walletAddress: SuiAddress; }) => Promise; fetchStakedSuiFrens: (inputs: { stakedSuiFrenIds: ObjectId[]; }) => Promise; fetchStakedSuiFrensDynamicFields: (inputs: DynamicFieldsInputs) => Promise>; fetchAccessoriesForSuiFren: (inputs: { suiFrenId: ObjectId; }) => Promise; fetchOwnedAccessories: (inputs: { walletAddress: SuiAddress; }) => Promise; fetchAccessories: (inputs: { objectIds: ObjectId[]; }) => Promise; fetchStakedSuiFrensDynamicFieldsWithFilters: (inputs: { attributes: Partial; sortBy?: SuiFrensSortOption; limit?: number; limitStepSize?: number; cursor?: ObjectId; }) => Promise>; fetchOwnedStakedSuiFrens: (inputs: { walletAddress: SuiAddress; }) => Promise; devInspectMetadataObjectIdMulTx: (inputs: { tx: Transaction; suiFrenIds: ObjectId[]; }) => import("@mysten/sui/transactions").TransactionResult; devInspectMixLimitAndLastEpochMixedMulTx: (inputs: { tx: Transaction; suiFrenIds: ObjectId[]; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; mixingLimitTx: (inputs: { tx: Transaction; suiFrenId: ObjectId; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; lastEpochMixedTx: (inputs: { tx: Transaction; suiFrenId: ObjectId; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; mixAndKeepTx: (inputs: { tx: Transaction; parentOneId: ObjectId; parentTwoId: ObjectId; suiPaymentCoinId: ObjectId | TransactionArgument; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; mixWithStakedAndKeepTx: (inputs: { tx: Transaction; nonStakedParentId: ObjectId; stakedParentId: ObjectId; suiPaymentCoinId: ObjectId | TransactionArgument; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; mixStakedWithStakedAndKeepTx: (inputs: { tx: Transaction; parentOneId: ObjectId; parentTwoId: ObjectId; suiPaymentCoinId: ObjectId | TransactionArgument; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; stakeAndKeepTx: (inputs: { tx: Transaction; suiFrenId: ObjectId; autoStakeFees: boolean; baseFee: Balance; feeIncrementPerMix: Balance; minRemainingMixesToKeep: bigint; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; unstakeAndKeepTx: (inputs: { tx: Transaction; stakedPositionId: ObjectId; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; beginHarvestTx: (inputs: { tx: Transaction; }) => import("@mysten/sui/transactions").TransactionResult; harvestTx: (inputs: { tx: Transaction; stakedPositionId: ObjectId; harvestFeesEventMetadataId: ObjectId | TransactionArgument; }) => import("@mysten/sui/transactions").TransactionResult; endHarvestTx: (inputs: { tx: Transaction; harvestFeesEventMetadataId: ObjectId | TransactionArgument; }) => import("@mysten/sui/transactions").TransactionResult; addAccessoryTx: (inputs: { tx: Transaction; suiFrenId: ObjectId; accessoryId: ObjectId; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; addAccessoryToOwnedSuiFrenTx: (inputs: { tx: Transaction; suiFrenId: ObjectId; accessoryId: ObjectId; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; removeAccessoryAndKeepTx: (inputs: { tx: Transaction; stakedPositionId: ObjectId; accessoryType: SuiFrenAccessoryType; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; removeAccessoryFromOwnedSuiFrenAndKeepTx: (inputs: { tx: Transaction; suiFrenId: ObjectId; accessoryType: SuiFrenAccessoryType; suiFrenType: AnyObjectType; }) => import("@mysten/sui/transactions").TransactionResult; fetchStakeTx: (inputs: { walletAddress: string; } & Omit<{ tx: Transaction; suiFrenId: ObjectId; baseFee: Balance; feeIncrementPerMix: Balance; minRemainingMixesToKeep: bigint; suiFrenType: AnyObjectType; }, "tx">) => Transaction; fetchUnstakeTx: (inputs: { walletAddress: string; } & Omit<{ tx: Transaction; stakedPositionId: ObjectId; suiFrenType: AnyObjectType; }, "tx">) => Transaction; fetchBuildMixTx: (inputs: ApiMixSuiFrensBody) => Promise; fetchBuildHarvestFeesTx: (inputs: { walletAddress: SuiAddress; stakedPositionIds: ObjectId[]; }) => Promise; fetchBuildAddAccessoryTx: (inputs: ApiAddSuiFrenAccessoryBody) => Transaction; fetchBuildRemoveAccessoryTx: (inputs: ApiRemoveSuiFrenAccessoryBody) => Transaction; fetchSuiFrenStats: () => Promise; filterSuiFrensWithAttributes: (inputs: { suiFrens: SuiFrenObject[]; attributes: Partial; }) => SuiFrenObject[]; private fetchCompletePartialSuiFrenObjects; private fetchNonStakedCompletePartialSuiFrenObject; private fetchOwnedPartialSuiFrenBullsharks; private harvestSuiFrenFeesEventType; private mixSuiFrensEventType; private stakeSuiFrenEventType; private unstakeSuiFrenEventType; } //# sourceMappingURL=suiFrensApi.d.ts.map