/** * @prettier */ import { BitGoBase } from '../bitgoBase'; import { AffirmationStatus, IAffirmation, Lock, Payload } from '../trading'; export declare class Affirmation implements IAffirmation { private bitgo; private enterpriseId; id?: string; partyAccountId?: string; status?: AffirmationStatus; settlement?: string; lock?: Lock; payload?: string; createdAt?: Date; expireAt?: Date; constructor(affirmationData: any, bitgo: BitGoBase, enterpriseId: string); /** * Affirms a pending affirmation, authorizing the settlement * @param payload payload authorizing the movement of funds from a trading account * @param signature signature of the payload with the user key of the trading account */ affirm(payload: Payload, signature: string): Promise; /** * Rejects a pending affirmation, cancelling the settlement */ reject(): Promise; /** * Cancels a pending affirmation, cancelling the settlement */ cancel(): Promise; private updateStatus; private updateAffirmationData; } //# sourceMappingURL=affirmation.d.ts.map