import * as t from "io-ts"; import * as Knex from "knex"; import { Address } from "../../types"; export declare const OrderType: t.KeyofType<{ buy: null; sell: null; }>; export declare const BetterWorseOrdersParams: t.InterfaceType<{ marketId: t.StringType; outcome: t.NumberType; orderType: t.KeyofType<{ buy: null; sell: null; }>; price: t.StringType; }, t.TypeOfProps<{ marketId: t.StringType; outcome: t.NumberType; orderType: t.KeyofType<{ buy: null; sell: null; }>; price: t.StringType; }>, t.OutputOfProps<{ marketId: t.StringType; outcome: t.NumberType; orderType: t.KeyofType<{ buy: null; sell: null; }>; price: t.StringType; }>, t.mixed>; export interface BetterWorseResult { betterOrderId: Address | null; worseOrderId: Address | null; } export declare function getBetterWorseOrders(db: Knex, augur: {}, params: t.TypeOf): Promise;