import { Connector } from '../../connectors'; import { Provider } from '../../types'; import { GetAccountResult } from './getAccount'; export declare type WatchAccountCallback = (data: GetAccountResult) => void; export declare type WatchAccountConfig = { selector?({ address, connector, status, }: { address?: string; connector?: Connector; status: GetAccountResult['status']; }): any; }; export declare function watchAccount(callback: WatchAccountCallback, { selector }?: WatchAccountConfig): () => void;