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