import * as entities from "sbtech-sports-data-api-contracts"; export declare type QueryFormat = "ODataV3"; export declare enum TimeRange { OneHour = "OneHour", TwoHours = "TwoHours", ThreeHours = "ThreeHours", SixHours = "SixHours", TwelveHours = "TwelveHours", OneDay = "OneDay", TwoDays = "TwoDays", ThreeDays = "ThreeDays", SevenDays = "SevenDays" } export declare enum Format { Json = "application/json", Msgpack = "application/msgpack" } export declare enum Projection { Compact = "compact", OnlyId = "onlyId", ToteDetails = "toteDetails" } export declare enum IncludeSelections { All = "all", None = "none" } interface Params { [param: string]: string; } export declare class Query { readonly query: string; locale?: string; format?: Format; params: Params; static composeRawQuery(query: Query): string; static composeQueryString(query: Query): string; static validate(query: Query): void; static parseEntityType(query: Query): entities.EntityType.Event | entities.EntityType.Market | entities.EntityType.Sport | entities.EntityType.League | entities.EntityType.Region; /** * Creates query to get Games */ static getGames(args: { isLive?: boolean; sportId?: number; leagueId?: number; }): string; /** * Creates query to get Leagues */ static getLeagues(args: { sportId: number; regionId?: number; isHot?: boolean; }): string; /** * Creates query to get Sports */ static getSports(): string; } export {};