import { InteractionsRtdEndpoint } from "./interactions-service-rtd"; import { InteractionsSearchApi } from "./interactions-service-search"; import { InteractionsServiceTypes } from "./interactions-service.types"; export declare class InteractionsService { private readonly interactionsSearchApi; private readonly interactionsRtd; private readonly subscribers; constructor(interactionsSearchApi: InteractionsSearchApi, interactionsRtd: InteractionsRtdEndpoint); fetchCompletedInteractions(params: InteractionsServiceTypes.FetchCompletedInteractionsParams): Promise; subscribeInteractionUpdates(callback: InteractionsServiceTypes.RealTimeCallback): Promise; stopInteractionUpdates(subscriptionId: string): Promise; startQueuedPolling(callback: InteractionsServiceTypes.PollingCallback, sortBy?: InteractionsServiceTypes.SortBy, filters?: InteractionsServiceTypes.Filters, dateRange?: InteractionsServiceTypes.DateRange): Promise; fetchMoreQueuedInteractions(subscriptionId: string): Promise; fetchQueuedTaskById(taskId: string): Promise; fetchCompletedTasksByIds(taskIds: string[]): Promise; private addSubscription; } export declare function buildInteractionsService(): InteractionsService; //# sourceMappingURL=interactions-service.d.ts.map