import { OrdersOptions, OrderSpecification } from './types'; import { Amount, Issue } from '../common/types'; declare type Orderbook = { base: Issue; counter: Issue; }; declare type OrderbookItem = { specification: OrderSpecification; properties: { maker: string; sequence: number; makerExchangeRate: string; }; state?: { fundedAmount: Amount; priceOfFundedAmount: Amount; }; }; declare type OrderbookOrders = Array; declare type GetOrderbook = { bids: OrderbookOrders; asks: OrderbookOrders; }; declare function getOrderbook(address: string, orderbook: Orderbook, options?: OrdersOptions): Promise; export default getOrderbook;