/** * @prettier */ import * as Bluebird from 'bluebird'; import { BitGo } from '../bitgo'; import { BaseCoin } from './baseCoin'; import { NodeCallback } from './types'; import { Wallet } from './wallet'; import { Settlements } from './trading/settlements'; import { Affirmations } from './trading/affirmations'; export declare class Enterprise { private readonly bitgo; private readonly baseCoin; readonly id: string; readonly name: string; constructor(bitgo: BitGo, baseCoin: BaseCoin, enterpriseData: { id: string; name: string; }); /** * Enterprise URL for v1 methods, such as getting users * @param query */ url(query?: string): string; /** * Enterprise URL for v2 methods, such as getting fee address balances * @param query */ coinUrl(query?: string): string; /** * Get the wallets associated with this Enterprise * @param params * @param callback */ coinWallets(params?: Record, callback?: NodeCallback): Bluebird; /** * Get the users associated with this Enterprise * @param params * @param callback */ users(params?: Record, callback?: NodeCallback): Bluebird; /** * Get the fee address balance for this Enterprise * @param _params * @param callback */ getFeeAddressBalance(params?: Record, callback?: NodeCallback): Bluebird; /** * Add a user to this Enterprise * @param params * @param callback */ addUser(params?: any, callback?: NodeCallback): Bluebird; /** * Remove a user from this Enterprise * @param params * @param callback */ removeUser(params?: any, callback?: NodeCallback): Bluebird; /** * Get the first pending transaction for this Enterprise * @param params * @param callback */ getFirstPendingTransaction(params?: Record, callback?: NodeCallback): Bluebird; /** * Manage settlements for an enterprise */ settlements(): Settlements; /** * Manage affirmations for an enterprise */ affirmations(): Affirmations; } //# sourceMappingURL=enterprise.d.ts.map