import type { Account } from "@ledgerhq/types-live";
/**
 * This function returns true if the acccounts with funds changed between the accounts and the oldAccounts properties.
 * Meaning that at least one account with a positive balance has been added, removed, the balance of an existing empty
 * account is now positive or the balance of an existing account was positive and is now 0.
 * Else this function returns false.
 */
export declare function hasAccountsWithFundsChanged(accounts: Account[], oldAccounts: Account[]): boolean;
/**
 * Watches for changes in the accounts with funds (see comment on the function above for more details) and it triggers
 * the callback function when a change occurs.
 */
declare function useAccountsWithFundsListener(accounts: Account[], callback: () => void, debounceTimer?: number): void;
export default useAccountsWithFundsListener;
//# sourceMappingURL=useAccountsWithFundsListener.d.ts.map