import type { ContextExState } from '@ariestools/sdk-react/shared'; import type { NetworkPayload } from '@xyo-network/sdk'; import type { Dispatch } from 'react'; /** Context state for the selected network, available networks, and setter. */ export type NetworkContextState = ContextExState<{ /** @field The currently selected XYO Network */ network?: NetworkPayload; /** @field The list of known available networks */ networks?: NetworkPayload[]; /** @field Function to set the selected Network */ setNetwork?: Dispatch; }>; //# sourceMappingURL=State.d.ts.map