import { Storage, AccountInfo, BeaconMessage } from '@tezos-x/octez.connect-types'; /** * @internalapi * * The AccountManager provides CRUD functionality for account entities and persists them to the provided storage. */ export declare class AccountManager { private readonly storageManager; constructor(storage: Storage); getAccounts(): Promise; getAccount(accountIdentifier: string): Promise; addAccount(accountInfo: AccountInfo): Promise; /** * Persist several accounts in a single read-modify-write cycle. Behaves like * calling {@link addAccount} for each entry (dedupe/overwrite by * `accountIdentifier`) but touches storage once. Used by the v4 multi-network * permission flow, which materialises one account per requested network. */ addAccounts(accountInfos: AccountInfo[]): Promise; updateAccount(accountIdentifier: string, accountInfo: Partial): Promise; removeAccount(accountIdentifier: string): Promise; removeAccounts(accountIdentifiers: string[]): Promise; removeAllAccounts(): Promise; hasPermission(message: BeaconMessage): Promise; }