import { EventResponse, EntityResponse, entities, EntityPushResponse, EventPushResponse, EventCountResponse } from "./.."; import * as mapper from "./"; import { Projection } from "../query"; import { EntityCountResponse, GameIncidentResponse } from "../contracts"; export declare function decodeEventCountResponse(stream: any): EventCountResponse; export declare function decodeEntityCountResponse(stream: any): EntityCountResponse; export declare function decodeEventResponse(stream: any, projection?: Projection): EventResponse; export declare function getEventResponseMapper(projection?: Projection): { eventMapper: typeof mapper.mapCompactEvent; marketMapper: (market: any) => entities.Market; } | { eventMapper: typeof mapper.mapEntityId; marketMapper: typeof mapper.mapMarketId; }; export declare function decodeEntityResponse(stream: any, mapper: (stream: any) => any): { data: any; warnings: any; }; export declare function decodeGameIncidentEntityResponse(stream: any, mapper: (stream: any) => any): { data: any; warnings: any; }; export declare function decodeMarketResponse(stream: any, projection?: Projection): EntityResponse; export declare function decodeSportResponse(stream: any, projection?: Projection): EntityResponse; export declare function decodeLeagueResponse(stream: any, projection?: Projection): EntityResponse; export declare function decodeRegionResponse(stream: any, projection?: Projection): EntityResponse; export declare function decodeSelectionResponse(stream: any, projection?: Projection): EntityResponse; export declare function decodeIncidentResponse(stream: any): EntityResponse; export declare function decodeGameIncidentResponse(stream: any): GameIncidentResponse; export declare function decodeEventPushResponse(stream: any): EventPushResponse; export declare function decodeEntityPushResponse(stream: any, addMapper: (stream: any) => TAdd, changeMapper: (stream: any) => TChange): EntityPushResponse; export declare function decodeMarketPushResponse(stream: any): EntityPushResponse; export declare function decodeLeaguePushResponse(stream: any): EntityPushResponse; export declare function decodeRegionPushResponse(stream: any): EntityPushResponse; export declare function decodeSelectionPushResponse(stream: any): EntityPushResponse; export declare function decodeSportPushResponse(stream: any): EntityPushResponse; export declare function decodeIncidentPushResponse(stream: any): EntityResponse; export declare function decodeGameIncidentPushResponse(stream: any): GameIncidentResponse; export declare function base64ToDataArray(base64String: string): any;