UNPKG

@bigmi/client

Version:

Reactive primitives for Bitcoin apps.

12 lines (11 loc) 612 B
import { Config } from "../factories/createConfig.js"; import { GetAccountReturnType } from "./getAccount.js"; //#region src/actions/watchAccount.d.ts type WatchAccountParameters<config extends Config = Config> = { onChange(account: GetAccountReturnType<config>, prevAccount: GetAccountReturnType<config>): void; }; type WatchAccountReturnType = () => void; declare function watchAccount<C extends Config>(config: C, parameters: WatchAccountParameters<C>): WatchAccountReturnType; //#endregion export { WatchAccountParameters, WatchAccountReturnType, watchAccount }; //# sourceMappingURL=watchAccount.d.ts.map