import * as t from "io-ts"; import * as Knex from "knex"; import { UIOrders } from "../../types"; export declare const OrdersParamsSpecific: t.InterfaceType<{ universe: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; marketId: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; outcome: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType | t.KeyofType<{ 0: null; 1: null; 2: null; 3: null; 4: null; 5: null; 6: null; 7: null; }>)[], number | null | undefined, number | null | undefined, t.mixed>; orderType: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; creator: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orderState: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orphaned: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; earliestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; latestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }, t.TypeOfProps<{ universe: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; marketId: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; outcome: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType | t.KeyofType<{ 0: null; 1: null; 2: null; 3: null; 4: null; 5: null; 6: null; 7: null; }>)[], number | null | undefined, number | null | undefined, t.mixed>; orderType: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; creator: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orderState: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orphaned: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; earliestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; latestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }>, t.OutputOfProps<{ universe: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; marketId: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; outcome: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType | t.KeyofType<{ 0: null; 1: null; 2: null; 3: null; 4: null; 5: null; 6: null; 7: null; }>)[], number | null | undefined, number | null | undefined, t.mixed>; orderType: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; creator: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orderState: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orphaned: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; earliestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; latestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }>, t.mixed>; export declare const OrdersParams: t.IntersectionType<[t.InterfaceType<{ universe: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; marketId: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; outcome: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType | t.KeyofType<{ 0: null; 1: null; 2: null; 3: null; 4: null; 5: null; 6: null; 7: null; }>)[], number | null | undefined, number | null | undefined, t.mixed>; orderType: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; creator: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orderState: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orphaned: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; earliestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; latestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }, t.TypeOfProps<{ universe: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; marketId: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; outcome: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType | t.KeyofType<{ 0: null; 1: null; 2: null; 3: null; 4: null; 5: null; 6: null; 7: null; }>)[], number | null | undefined, number | null | undefined, t.mixed>; orderType: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; creator: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orderState: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orphaned: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; earliestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; latestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }>, t.OutputOfProps<{ universe: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; marketId: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; outcome: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType | t.KeyofType<{ 0: null; 1: null; 2: null; 3: null; 4: null; 5: null; 6: null; 7: null; }>)[], number | null | undefined, number | null | undefined, t.mixed>; orderType: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; creator: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orderState: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orphaned: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; earliestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; latestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }>, t.mixed>, t.PartialType<{ sortBy: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; isSortDescending: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; limit: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; offset: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }, t.TypeOfPartialProps<{ sortBy: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; isSortDescending: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; limit: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; offset: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }>, t.OutputOfPartialProps<{ sortBy: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; isSortDescending: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; limit: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; offset: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }>, t.mixed>], t.TypeOfProps<{ universe: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; marketId: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; outcome: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType | t.KeyofType<{ 0: null; 1: null; 2: null; 3: null; 4: null; 5: null; 6: null; 7: null; }>)[], number | null | undefined, number | null | undefined, t.mixed>; orderType: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; creator: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orderState: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orphaned: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; earliestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; latestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }> & t.TypeOfPartialProps<{ sortBy: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; isSortDescending: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; limit: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; offset: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }>, t.OutputOfProps<{ universe: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; marketId: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; outcome: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType | t.KeyofType<{ 0: null; 1: null; 2: null; 3: null; 4: null; 5: null; 6: null; 7: null; }>)[], number | null | undefined, number | null | undefined, t.mixed>; orderType: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; creator: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orderState: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; orphaned: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; earliestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; latestCreationTime: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }> & t.OutputOfPartialProps<{ sortBy: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | null | undefined, t.mixed>; isSortDescending: t.UnionType<(t.NullType | t.UndefinedType | t.BooleanType)[], boolean | null | undefined, boolean | null | undefined, t.mixed>; limit: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; offset: t.UnionType<(t.NullType | t.UndefinedType | t.NumberType)[], number | null | undefined, number | null | undefined, t.mixed>; }>, t.mixed>; export declare function getOrders(db: Knex, augur: {}, params: t.TypeOf): Promise>;