/** * @prettier */ import { BitGoBase } from '../bitgoBase'; import { CreateSettlementParams, GetOptions, ISettlement, ISettlements, Settlement, TradingAccount } from '../trading'; export declare class Settlements implements ISettlements { private bitgo; private enterpriseId; private account?; constructor(bitgo: BitGoBase, enterpriseId: string, account?: TradingAccount); /** * Retrieves all settlements for an enterprise */ list(): Promise; /** * Retrieves a single settlement by its ID. * @param id ID of the settlement * @param accountId ID of the trading account that the affirmation belongs to */ get({ id, accountId }: GetOptions): Promise; /** * Submits a new settlement for a set of trades. * NOTE: This function must be called as tradingAccount.settlements().create(), enterprise.settlements().create() is not a valid call. * @param params * @param params.requesterAccountId trading account ID that is creating this settlement * @param params.payload payload authorizing the movement of funds for the included trades * @param params.signature hex-encoded signature of the payload * @param params.trades list of trades to settle as part of this settlement */ create(params: CreateSettlementParams): Promise; } //# sourceMappingURL=settlements.d.ts.map