import { AddressOrUnsafeInput, AccountAddressT, ValidatorAddressT, ValidatorAddressOrUnsafeInput, ResourceIdentifierOrUnsafeInput, ResourceIdentifierT } from "../../account/index"; import { AmountOrUnsafeInput, AmountT } from "../../primitives/index"; export declare enum ActionType { TRANSFER = "TransferTokens", STAKE = "StakeTokens", UNSTAKE = "UnstakeTokens", OTHER = "Other" } export declare type Action = { type: T; }; export declare type TransferTokensInput = Readonly<{ to_account: AddressOrUnsafeInput; amount: AmountOrUnsafeInput; tokenIdentifier: ResourceIdentifierOrUnsafeInput; }>; export declare type StakeTokensInput = Readonly<{ to_validator: ValidatorAddressOrUnsafeInput; amount: AmountOrUnsafeInput; tokenIdentifier: ResourceIdentifierOrUnsafeInput; }>; export declare type UnstakeTokensInput = Readonly<{ from_validator: ValidatorAddressOrUnsafeInput; amount: AmountOrUnsafeInput; tokenIdentifier: ResourceIdentifierOrUnsafeInput; }>; export declare type ActionInput = TransferTokensInput | StakeTokensInput | UnstakeTokensInput; export declare type TransferTokensProps = { to_account: AccountAddressT; from_account: AccountAddressT; amount: AmountT; rri: ResourceIdentifierT; }; export declare type TransferTokensAction = TransferTokensProps & Action; export declare type StakeTokensProps = Readonly<{ from_account: AccountAddressT; to_validator: ValidatorAddressT; amount: AmountT; rri: ResourceIdentifierT; }>; export declare type UnstakeTokensProps = Readonly<{ to_account: AccountAddressT; from_validator: ValidatorAddressT; amount?: AmountT; rri?: ResourceIdentifierT; unstake_percentage?: number; }>; export declare type StakeTokensAction = StakeTokensProps & Action; export declare type UnstakeTokensAction = UnstakeTokensProps & Action; export declare type IntendedActionBase = Action; export declare type IntendedTransferTokensAction = IntendedActionBase & TransferTokensAction; export declare type IntendedStakeTokensAction = IntendedActionBase & StakeTokensProps; export declare type IntendedUnstakeTokensAction = IntendedActionBase & UnstakeTokensProps; export declare type IntendedAction = IntendedTransferTokensAction | IntendedStakeTokensAction | IntendedUnstakeTokensAction; export declare type ExecutedActionBase = Action; export declare type ExecutedTransferTokensAction = ExecutedActionBase & TransferTokensAction; export declare type ExecutedStakeTokensAction = ExecutedActionBase & StakeTokensAction; export declare type ExecutedUnstakeTokensAction = ExecutedActionBase & UnstakeTokensAction; export declare type ExecutedOtherAction = ExecutedActionBase; export declare type ExecutedAction = ExecutedTransferTokensAction | ExecutedStakeTokensAction | ExecutedUnstakeTokensAction | ExecutedOtherAction; //# sourceMappingURL=_types.d.ts.map