import { AccountKey } from './account-key'; import { AccountsClientBackend, Account } from './accounts'; /** * Main API for DXNS account and devices management. */ export declare class AccountsClient { private readonly _backend; constructor(_backend: AccountsClientBackend); /** * Get the account details. */ getAccount(account: AccountKey): Promise; /** * List accounts in the system. */ listAccounts(): Promise; /** * Creates a DXNS account on the blockchain. */ createAccount(): Promise; /** * Add a new device to an existing DXNS account. */ addDevice(account: AccountKey, device: string): Promise; /** * Is the given device a listed device of this DXNS account? */ belongsToAccount(account: AccountKey, device: string): Promise; } //# sourceMappingURL=accounts-client.d.ts.map