import { AllSettlements, BZZ, ChainState, ChequebookAddressResponse, ChequebookBalanceResponse, LastChequesResponse, NodeAddresses, NodeInfo, Peer, PeerBalance, Topology, WalletBalance } from '@ethersphere/bee-js'; import { ReactChild, ReactElement } from 'react'; export declare enum CheckState { CONNECTING = "Connecting", OK = "OK", WARNING = "Warning", ERROR = "Error", STARTING = "Starting" } interface StatusItem { isEnabled: boolean; checkState: CheckState; } interface Status { all: CheckState; apiConnection: StatusItem; topology: StatusItem; chequebook: StatusItem; } interface ContextInterface { beeVersion: string | null; status: Status; error: Error | null; apiHealth: boolean; nodeAddresses: NodeAddresses | null; nodeInfo: NodeInfo | null; topology: Topology | null; chequebookAddress: ChequebookAddressResponse | null; peers: Peer[] | null; chequebookBalance: ChequebookBalanceResponse | null; stake: BZZ | null; peerBalances: PeerBalance[] | null; peerCheques: LastChequesResponse | null; settlements: AllSettlements | null; chainState: ChainState | null; walletBalance: WalletBalance | null; latestBeeRelease: LatestBeeRelease | null; isLoading: boolean; lastUpdate: number | null; start: (frequency?: number) => void; stop: () => void; refresh: () => Promise; } export declare const Context: import("react").Context; export declare const Consumer: import("react").Consumer; interface Props { children: ReactChild; } interface Props { children: ReactChild; } export declare function Provider({ children }: Props): ReactElement; export {};