import { IRequestTracer } from '../../api'; export declare enum OwnerType { WALLET = "wallet", ENTERPRISE = "enterprise" } export declare enum State { PENDING = "pending", AWAITING_SIGNATURE = "awaitingSignature", PENDING_BITGO_ADMIN_APPROVAL = "pendingBitGoAdminApproval", PENDING_ID_VERIFICATION = "pendingIdVerification", PENDING_CUSTODIAN_APPROVAL = "pendingCustodianApproval", PENDING_FINAL_APPROVAL = "pendingFinalApproval", APPROVED = "approved", PROCESSING = "processing", REJECTED = "rejected" } export declare enum Type { USER_CHANGE_REQUEST = "userChangeRequest", TRANSACTION_REQUEST = "transactionRequest", POLICY_RULE_REQUEST = "policyRuleRequest", UPDATE_APPROVALS_REQUIRED_REQUEST = "updateApprovalsRequiredRequest", TRANSACTION_REQUEST_FULL = "transactionRequestFull" } export interface ApproveOptions { walletPassphrase?: string; otp?: string; tx?: string; xprv?: string; } export interface PendingApprovalInfo { type: Type; transactionRequest?: { coinSpecific: { [key: string]: any; }; recipients: any; buildParams: { type?: 'fanout' | 'consolidate'; [index: string]: any; }; sourceWallet?: string; }; } export interface PendingApprovalData { id: string; wallet?: string; enterprise?: string; state: State; creator: string; info: PendingApprovalInfo; approvalsRequired?: number; txRequestId?: string; } export interface IPendingApproval { id(): string; ownerType(): OwnerType; walletId(): string | undefined; enterpriseId(): string | undefined; state(): State; creator(): string; type(): Type; info(): PendingApprovalInfo; approvalsRequired(): number; url(extra?: string): string; get(params?: Record): Promise; approve(params?: ApproveOptions): Promise; reject(params?: Record): Promise; cancel(params?: Record): Promise; recreateAndSignTSSTransaction(params: ApproveOptions, reqId: IRequestTracer): Promise<{ txHex: string; }>; recreateAndSignTransaction(params?: any): Promise; } //# sourceMappingURL=iPendingApproval.d.ts.map