import type { AccountWalletEntropyObject } from "../../wallet.cjs"; import type { ProfileId } from "../authentication/index.cjs"; import type { BackupAndSyncContext, UserStorageSyncedWallet } from "../types.cjs"; /** * Syncs wallet metadata fields and determines if the wallet needs to be pushed to user storage. * * @param context - The sync context containing controller and messenger. * @param localWallet - The local wallet to sync. * @param walletFromUserStorage - The wallet data from user storage, if any. * @param profileId - The profile ID for analytics. * @returns Promise resolving to true if the wallet should be pushed to user storage. */ export declare function syncWalletMetadataAndCheckIfPushNeeded(context: BackupAndSyncContext, localWallet: AccountWalletEntropyObject, walletFromUserStorage: UserStorageSyncedWallet | null | undefined, profileId: ProfileId): Promise; /** * Syncs wallet metadata and pushes it to user storage if needed. * * @param context - The sync context containing controller and messenger. * @param localWallet - The local wallet to sync. * @param walletFromUserStorage - The wallet data from user storage, if any. * @param profileId - The profile ID for analytics. */ export declare function syncWalletMetadata(context: BackupAndSyncContext, localWallet: AccountWalletEntropyObject, walletFromUserStorage: UserStorageSyncedWallet | null | undefined, profileId: ProfileId): Promise; //# sourceMappingURL=wallet.d.cts.map