import { DarkSwap } from '../../darkSwap'; import { WithdrawProofResult } from '../../proof/basic/withdrawProof'; import { DarkSwapNote } from '../../types'; import { BaseContext, BaseContractService } from '../BaseService'; declare class WithdrawContext extends BaseContext { private _currentBalance?; private _newBalance?; private _withdrawAmount?; private _proof?; constructor(signature: string); set currentBalance(note: DarkSwapNote | undefined); get currentBalance(): DarkSwapNote | undefined; set newBalance(note: DarkSwapNote | undefined); get newBalance(): DarkSwapNote | undefined; set withdrawAmount(amount: bigint | undefined); get withdrawAmount(): bigint | undefined; set proof(proof: WithdrawProofResult | undefined); get proof(): WithdrawProofResult | undefined; } export declare class WithdrawService extends BaseContractService { constructor(_darkSwap: DarkSwap); prepare(address: string, currentBalance: DarkSwapNote, withdrawAmount: bigint, signature: string): Promise<{ context: WithdrawContext; newBalanceNote: DarkSwapNote; }>; private generateProof; execute(context: WithdrawContext): Promise; } export {};