import { utils } from "ethers"; import BigNumber = utils.BigNumber; import { BaseTransaction, OwnState, TransactionOutput } from '../tx'; import { Segment } from '../segment'; import { Address, RLPItem, Hash } from '../helpers/types'; export declare class EscrowLockState extends TransactionOutput { segment: Segment; owner: Address; ttp: Address; to: Address; timeout: BigNumber; blkNum: BigNumber | null; constructor(segment: Segment, owner: Address, ttp: Address, to: Address, timeout: BigNumber); getLabel(): Hash; withBlkNum(blkNum: BigNumber): this; setBlkNum(blkNum: BigNumber): void; getBlkNum(): utils.BigNumber; getOwners(): string[]; getSegment(index: number): Segment; serialize(): (string | string[])[]; static deserialize(data: any[]): EscrowLockState; getBytes(): string; hash(): Hash; isSpent(txo: TransactionOutput): boolean; private joinHex; toObject(): { start: string; end: string; owner: string[]; blkNum: string; }; } export declare class EscrowTransaction extends BaseTransaction { from: Address; segment: Segment; blkNum: BigNumber; ttp: Address; to: Address; timeout: BigNumber; constructor(from: Address, segment: Segment, blkNum: BigNumber, ttp: Address, to: Address, timeout: BigNumber); static fromTuple(tuple: RLPItem[]): EscrowTransaction; static decode(bytes: string): EscrowTransaction; getInput(): TransactionOutput; getInputs(): TransactionOutput[]; getOutput(index: number): TransactionOutput; getOutputs(): OwnState[]; getSegments(): Segment[]; verify(signatures: string[], hash: string): boolean; normalizeSigs(signatures: string[], hash?: string): string[]; requireConfsig(): boolean; }