import * as t from "io-ts"; import * as Knex from "knex"; import { UIReport } from "../../types"; export declare const ReportingHistoryParamsSpecific: t.InterfaceType<{ reporter: t.StringType; 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>; feeWindow: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | 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<{ reporter: t.StringType; 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>; feeWindow: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | 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<{ reporter: t.StringType; 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>; feeWindow: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | 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 ReportingHistoryParams: t.IntersectionType<[t.InterfaceType<{ reporter: t.StringType; 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>; feeWindow: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | 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<{ reporter: t.StringType; 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>; feeWindow: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | 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<{ reporter: t.StringType; 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>; feeWindow: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | 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<{ reporter: t.StringType; 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>; feeWindow: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | 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<{ reporter: t.StringType; 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>; feeWindow: t.UnionType<(t.NullType | t.UndefinedType | t.StringType)[], string | null | undefined, string | 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 interface UIReports { [universe: string]: { [marketId: string]: { crowdsourcers: Array>; initialReporter: UIReport | null; }; }; } export declare function getReportingHistory(db: Knex, augur: {}, params: t.TypeOf): Promise>;