import { DecodedStruct } from '@typemove/move' import { Event, MoveResource, EntryFunctionPayloadResponse, UserTransactionResponse, BlockMetadataTransactionResponse, StateCheckpointTransactionResponse, ValidatorTransactionResponse, BlockEpilogueTransactionResponse } from '@aptos-labs/ts-sdk' export type GeneralTransactionResponse = | UserTransactionResponse | BlockMetadataTransactionResponse | StateCheckpointTransactionResponse | ValidatorTransactionResponse | BlockEpilogueTransactionResponse export type TypedEventInstance = DecodedStruct export type TypedMoveResource = DecodedStruct // Don't use intermediate type to make IDE happier export type TypedFunctionPayload> = EntryFunctionPayloadResponse & { /** * decoded argument data using ABI, undefined if there is decoding error, usually because the ABI/data mismatch */ arguments_decoded: T } export type { PartitionHandler, HandlerOptions } from '../core/index.js'