import ContractBase from '../ContractBase'; import { InstantiableConfig } from '../../../Instantiable.abstract'; export declare enum ConditionState { Uninitialized = 0, Unfulfilled = 1, Fulfilled = 2, Aborted = 3 } export declare const conditionStateNames: string[]; export declare abstract class Condition extends ContractBase { static getInstance(config: InstantiableConfig, conditionName: string, conditionsClass: any): Promise; protected constructor(contractName: string); hashValues(...args: any[]): Promise; fulfill(agreementId: string, ...args: any[]): any; generateIdHash(agreementId: string, ...values: any[]): Promise; generateId(agreementId: string, valueHash: string): Promise; abortByTimeOut(agreementId: string, from?: string): Promise; getConditionFulfilledEvent(agreementId: string): import("../../ContractEvent").ContractEvent; }