import { NetworkNames } from '../network'; import { State } from './classes'; export type StateStorageState = Omit; export interface StateStorage { setState(EOAAddress: string, networkName: NetworkNames, state: StateStorageState): Promise; getState(EOAAddress: string, networkName: NetworkNames): Promise; } export interface StateOptions { storage?: StateStorage; }