UNPKG

@particle-network/connectkit

Version:
8 lines (7 loc) 396 B
import { type Config } from '../createConfig'; import { type GetAccountReturnType } from './getAccount'; export type WatchAccountParameters = { onChange(account: GetAccountReturnType, prevAccount: GetAccountReturnType): void; }; export type WatchAccountReturnType = () => void; export declare function watchAccount(config: Config, parameters: WatchAccountParameters): WatchAccountReturnType;