import { AftermathApi } from "../providers/aftermathApi"; import { AnyObjectType, ObjectId, PackageId, SuiAddress } from "../../types"; import { SuiObjectDataFilter, SuiObjectDataOptions, SuiObjectResponse } from "@mysten/sui/client"; import { Transaction, TransactionObjectArgument } from "@mysten/sui/transactions"; import { BcsType } from "@mysten/sui/bcs"; export declare class ObjectsApiHelpers { private readonly Provider; private static readonly constants; constructor(Provider: AftermathApi); fetchDoesObjectExist: (objectId: ObjectId | PackageId) => Promise; fetchIsObjectOwnedByAddress: (inputs: { objectId: ObjectId; walletAddress: SuiAddress; }) => Promise; fetchObjectsOfTypeOwnedByAddress: (inputs: { walletAddress: SuiAddress; objectType: AnyObjectType; withDisplay?: boolean; options?: SuiObjectDataOptions; }) => Promise; fetchOwnedObjects: (inputs: { walletAddress: SuiAddress; filter?: SuiObjectDataFilter; withDisplay?: boolean; options?: SuiObjectDataOptions; }) => Promise; fetchObject: (inputs: { objectId: ObjectId; withDisplay?: boolean; }) => Promise; fetchObjectGeneral: (inputs: { objectId: ObjectId; options?: SuiObjectDataOptions; }) => Promise; fetchCastObject: (inputs: { objectId: ObjectId; objectFromSuiObjectResponse: (SuiObjectResponse: SuiObjectResponse) => ObjectType; withDisplay?: boolean | undefined; }) => Promise; fetchCastObjectGeneral: (inputs: { objectId: ObjectId; objectFromSuiObjectResponse: (SuiObjectResponse: SuiObjectResponse) => ObjectType; options?: SuiObjectDataOptions | undefined; }) => Promise; fetchObjectBatch: (inputs: { objectIds: ObjectId[]; options?: SuiObjectDataOptions; }) => Promise; fetchCastObjectBatch: (inputs: { objectIds: ObjectId[]; objectFromSuiObjectResponse: (data: SuiObjectResponse) => ObjectType; options?: SuiObjectDataOptions | undefined; }) => Promise; fetchCastObjectsOwnedByAddressOfType: (inputs: { walletAddress: SuiAddress; objectType: AnyObjectType; objectFromSuiObjectResponse: (SuiObjectResponse: SuiObjectResponse) => ObjectType; withDisplay?: boolean | undefined; options?: SuiObjectDataOptions | undefined; }) => Promise; fetchObjectBcs: (objectId: ObjectId) => Promise; fetchCastObjectBcs: (inputs: { objectId: ObjectId; bcsType: BcsType; fromDeserialized: (deserialized: U) => T; }) => Promise; burnObjectTx: (inputs: { tx: Transaction; object: TransactionObjectArgument; }) => Promise; publicShareObjectTx: (inputs: { tx: Transaction; object: TransactionObjectArgument; objectType: AnyObjectType; }) => Promise; } //# sourceMappingURL=objectsApiHelpers.d.ts.map