import type { Account } from "@ledgerhq/types-live";
/**
 * Returns true when something that is persisted and user-visible (or structurally
 * relevant) changed between prev and next. Used to decide if an account is worth
 * re-saving to app.json / mmkv. Ignores lastSyncDate and other in-memory-only fields.
 */
export declare function accountPersistedStateChanged(prev: Account, next: Account): boolean;
/**
 * Returns true if the list of accounts has a change that is worth re-saving
 * (new/removed account or any account with persisted state changed).
 * Compares by index, like subAccounts.
 */
export declare function accountsPersistedStateChanged(oldAccounts: Account[], newAccounts: Account[]): boolean;
//# sourceMappingURL=persistence.d.ts.map