/// import { BigNumber } from 'bignumber.js'; import { Callback, TXStatusCallback } from "./events"; import { BaseConnector } from "./connector/baseConnector"; import { ContractAddresses, NetworkId } from "@augurproject/artifacts"; import { ContractDependenciesEthers, TransactionStatusCallback } from "contract-dependencies-ethers"; import { ContractInterfaces } from "@augurproject/core"; import { Contracts } from "./api/Contracts"; import { CreateYesNoMarketParams, CreateCategoricalMarketParams, CreateScalarMarketParams, Market } from "./api/Market"; import { Events } from "./api/Events"; import { Provider } from "./ethereum/Provider"; import { Trade, PlaceTradeDisplayParams, SimulateTradeData } from "./api/Trade"; import { SubscriptionEventName, TXEventName } from "./constants"; import { Liquidity } from "./api/Liquidity"; export declare class Augur { readonly provider: TProvider; private readonly dependencies; readonly networkId: NetworkId; readonly events: Events; readonly addresses: ContractAddresses; readonly contracts: Contracts; readonly trade: Trade; readonly market: Market; static connector: BaseConnector; readonly liquidity: Liquidity; private txSuccessCallback; private txAwaitingSigningCallback; private txPendingCallback; private txFailureCallback; readonly genericEventNames: string[]; constructor(provider: TProvider, dependencies: ContractDependenciesEthers, networkId: NetworkId, addresses: ContractAddresses, connector?: BaseConnector); static create(provider: TProvider, dependencies: ContractDependenciesEthers, addresses: ContractAddresses, connector?: BaseConnector): Promise; getTransaction(hash: string): Promise; listAccounts(): Promise; getTimestamp(): Promise; getEthBalance(address: string): Promise; getGasPrice(): Promise; getAccount(): Promise; getUniverse(address: string): ContractInterfaces.Universe; getMarket(address: string): ContractInterfaces.Market; getOrders(): ContractInterfaces.Orders; registerTransactionStatusCallback(key: string, callback: TransactionStatusCallback): void; deRegisterTransactionStatusCallback(key: string): void; deRegisterAllTransactionStatusCallbacks(): void; connect(ethNodeUrl: string, account?: string): Promise; disconnect(): Promise; bindTo(f: (db: any, augur: any, params: P) => Promise): (params: P) => Promise; on(eventName: SubscriptionEventName | TXEventName | string, callback: Callback | TXStatusCallback): Promise; off(eventName: SubscriptionEventName | TXEventName | string): Promise; getMarkets: (params: import("io-ts").Compact & import("io-ts").TypeOfPartialProps<{ creator: import("io-ts").StringType; category: import("io-ts").StringType; search: import("io-ts").StringType; disputeWindow: import("io-ts").StringType; designatedReporter: import("io-ts").StringType; maxFee: import("io-ts").StringType; maxEndTime: import("io-ts").NumberType; maxLiquiditySpread: import("io-ts").StringType; includeInvalidMarkets: import("io-ts").BooleanType; categories: import("io-ts").ArrayType; sortBy: any; }>> & import("io-ts").TypeOfPartialProps<{ sortBy: import("io-ts").StringType; isSortDescending: import("io-ts").BooleanType; limit: import("io-ts").NumberType; offset: import("io-ts").NumberType; }>>) => Promise; getMarketsInfo: (params: import("io-ts").TypeOfProps<{ marketIds: import("io-ts").ArrayType; }>) => Promise; getSyncData: () => Promise; getTradingHistory: (params: import("io-ts").Compact & import("io-ts").TypeOfPartialProps<{ universe: import("io-ts").StringType; account: import("io-ts").StringType; marketIds: import("io-ts").ArrayType; outcome: import("io-ts").NumberType; ignoreReportingStates: import("io-ts").ArrayType; earliestCreationTime: import("io-ts").NumberType; latestCreationTime: import("io-ts").NumberType; }>>) => Promise; getAllOrders: (params: import("io-ts").TypeOfPartialProps<{ account: import("io-ts").StringType; ignoreReportingStates: import("io-ts").ArrayType; makerTaker: import("io-ts").KeyofType<{ 'either': string; 'maker': string; 'taker': string; }>; }>) => Promise; getTradingOrders: (params: import("io-ts").Compact & import("io-ts").TypeOfPartialProps<{ universe: import("io-ts").StringType; marketId: import("io-ts").StringType; outcome: import("io-ts").KeyofType<{ 0: any; 1: any; 2: any; 3: any; 4: any; 5: any; 6: any; 7: any; }>; orderType: import("io-ts").StringType; account: import("io-ts").StringType; orderState: import("io-ts").StringType; ignoreReportingStates: import("io-ts").ArrayType; makerTaker: import("io-ts").KeyofType<{ 'either': string; 'maker': string; 'taker': string; }>; earliestCreationTime: import("io-ts").NumberType; latestCreationTime: import("io-ts").NumberType; }>>) => Promise; getMarketOrderBook: (params: import("io-ts").Compact & import("io-ts").TypeOfPartialProps<{ outcomeId: import("io-ts").UnionType<(import("io-ts").UnionType<(import("io-ts").NumberType | import("io-ts").NullType | import("io-ts").UndefinedType | import("io-ts").KeyofType<{ 0: any; 1: any; 2: any; 3: any; 4: any; 5: any; 6: any; 7: any; }>)[], number, number, unknown> | import("io-ts").ArrayType)[], number, number, unknown>, number[], number[], unknown>)[], number | number[], number | number[], unknown>; }>>) => Promise; getMarketPriceCandlesticks: (params: import("io-ts").TypeOfProps<{ marketId: import("io-ts").StringType; outcome: import("io-ts").UnionType<(import("io-ts").NumberType | import("io-ts").NullType | import("io-ts").UndefinedType | import("io-ts").KeyofType<{ 0: any; 1: any; 2: any; 3: any; 4: any; 5: any; 6: any; 7: any; }>)[], number, number, unknown>; start: import("io-ts").UnionType<(import("io-ts").NumberType | import("io-ts").NullType | import("io-ts").UndefinedType)[], number, number, unknown>; end: import("io-ts").UnionType<(import("io-ts").NumberType | import("io-ts").NullType | import("io-ts").UndefinedType)[], number, number, unknown>; period: import("io-ts").UnionType<(import("io-ts").NumberType | import("io-ts").NullType | import("io-ts").UndefinedType)[], number, number, unknown>; }>) => Promise; getUserTradingPositions: (params: import("io-ts").Compact & import("io-ts").TypeOfPartialProps<{ universe: import("io-ts").StringType; marketId: import("io-ts").StringType; outcome: import("io-ts").NumberType; }>> & import("io-ts").TypeOfPartialProps<{ sortBy: import("io-ts").StringType; isSortDescending: import("io-ts").BooleanType; limit: import("io-ts").NumberType; offset: import("io-ts").NumberType; }>>) => Promise; getProfitLoss: (params: import("io-ts").Compact & import("io-ts").TypeOfPartialProps<{ startTime: import("io-ts").NumberType; periodInterval: import("io-ts").NumberType; outcome: import("io-ts").NumberType; }>>) => Promise; getProfitLossSummary: (params: import("io-ts").TypeOfPartialProps<{ universe: import("io-ts").StringType; account: import("io-ts").StringType; endTime: import("io-ts").NumberType; }>) => Promise>; getAccountTransactionHistory: (params: import("io-ts").Compact; latestTransactionTime: import("io-ts").UnionType<(import("io-ts").NumberType | import("io-ts").NullType | import("io-ts").UndefinedType)[], number, number, unknown>; coin: import("io-ts").UnionType; action: import("io-ts").UnionType; }> & import("io-ts").TypeOfPartialProps<{ sortBy: import("io-ts").StringType; isSortDescending: import("io-ts").BooleanType; limit: import("io-ts").NumberType; offset: import("io-ts").NumberType; }>>) => Promise; simulateTrade(params: PlaceTradeDisplayParams): Promise; placeTrade(params: PlaceTradeDisplayParams): Promise; createYesNoMarket(params: CreateYesNoMarketParams): Promise; createCategoricalMarket(params: CreateCategoricalMarketParams): Promise; createScalarMarket(params: CreateScalarMarketParams): Promise; simulateTradeGasLimit(params: PlaceTradeDisplayParams): Promise; private registerTransactionStatusEvents; } //# sourceMappingURL=Augur.d.ts.map