import { PayloadAction } from '@reduxjs/toolkit'; import { AccountType } from 'types/account.types'; export interface LedgerAccountType { index: number; address: string; hasContractDataEnabled: boolean; version: string; } export interface UpdateLedgerAccountPayloadType { index: number; address: string; } export interface AccountInfoSliceType { address: string; shard?: number; accounts: { [address: string]: AccountType; }; publicKey: string; ledgerAccount: LedgerAccountType | null; walletConnectAccount: string | null; isAccountLoading: boolean; websocketEvent: { timestamp: number; message: string; } | null; accountLoadingError: string | null; } export declare const emptyAccount: AccountType; export declare const accountInfoSlice: import("@reduxjs/toolkit").Slice) => void; setAccount: (state: AccountInfoSliceType, action: PayloadAction) => void; setAccountNonce: (state: AccountInfoSliceType, action: PayloadAction) => void; setAccountShard: (state: AccountInfoSliceType, action: PayloadAction) => void; setLedgerAccount: (state: AccountInfoSliceType, action: PayloadAction) => void; updateLedgerAccount: (state: AccountInfoSliceType, action: PayloadAction) => void; setWalletConnectAccount: (state: AccountInfoSliceType, action: PayloadAction) => void; setIsAccountLoading: (state: AccountInfoSliceType, action: PayloadAction) => void; setAccountLoadingError: (state: AccountInfoSliceType, action: PayloadAction) => void; setWebsocketEvent: (state: AccountInfoSliceType, action: PayloadAction) => void; }, "accountInfoSlice">; export declare const setAccount: import("@reduxjs/toolkit").ActionCreatorWithPayload, setAddress: import("@reduxjs/toolkit").ActionCreatorWithPayload, setAccountNonce: import("@reduxjs/toolkit").ActionCreatorWithPayload, setAccountShard: import("@reduxjs/toolkit").ActionCreatorWithPayload, setLedgerAccount: import("@reduxjs/toolkit").ActionCreatorWithPayload, updateLedgerAccount: import("@reduxjs/toolkit").ActionCreatorWithPayload, setWalletConnectAccount: import("@reduxjs/toolkit").ActionCreatorWithPayload, setIsAccountLoading: import("@reduxjs/toolkit").ActionCreatorWithPayload, setAccountLoadingError: import("@reduxjs/toolkit").ActionCreatorWithPayload, setWebsocketEvent: import("@reduxjs/toolkit").ActionCreatorWithPayload; declare const _default: import("redux").Reducer; export default _default; //# sourceMappingURL=accountInfoSlice.d.ts.map