import { CheckoutProps, Client, Event, InitSignalPayload, PurchaseProps, Session, SignalInstance, TrackEvent } from '../types/signal.types'; import { PhyHubClient } from '../index'; export declare class SignalsService { private instance; private maxSessionLastActivityMins; private isOnline; private requiredInitParams; private readonly hubClient; constructor(hubClient: PhyHubClient, initParams: InitSignalPayload); private validateObjectKeys; private updateLastActivity; private sendOrCacheData; private trackEvent; private startSessionTracker; private subscribeToOnlineState; private sendAppStart; private sendData; private send; getInstanceProps: () => SignalInstance; createSession: (instanceParams?: Partial) => Promise; initialize(signalParams: InitSignalPayload): Promise; initializeEdgeApp: (signalParams?: InitSignalPayload | {}) => void; sendAppOnline: (message?: string) => Promise; sendAppOffline: (message?: string) => Promise; sendEvent: (event: Event, expectResponse?: boolean) => Promise; private sendTransactionEvent; sendPurchase: (purchaseData: PurchaseProps) => Promise; sendCheckout: (checkoutData: CheckoutProps) => Promise; sendSession: (session: Session, expectResponse?: boolean) => Promise; sendClient: (client: Client, expectResponse?: boolean) => Promise; sendProcessOrderStart: () => Promise; sendProcessOrderEnd: () => Promise; sendProcessOrderSuccess: () => Promise; sendProcessOrderFailed: () => Promise; sendOrderItem: ({ orderId, itemId, itemType, }: { orderId: string; itemId: string; itemType: string; }) => Promise; sendProcessOrderItemDelivered: ({ orderId, itemId, }: { orderId: string; itemId: string; }) => Promise; sendProcessOrderItemFailed: ({ orderId, itemId, }: { orderId: string; itemId: string; }) => Promise; sendAuthenticationSuccess: () => Promise; sendAuthenticationFailed: () => Promise; sendScanBarcode: ({ barcode }: { barcode: string; }) => Promise; sendMediaFinished: ({ id, type, name, duration, tags, }: { id: string; type: string; name: string; duration: number; tags?: string[]; }) => Promise; sendCustomEvent: (event: TrackEvent) => Promise; sendCategoryView: ({ categoryId }: { categoryId: string; }) => Promise; sendProductView: ({ productId }: { productId: string; }) => Promise; sendCartAdd: ({ productId, quantity }: { productId: string; quantity: number; }) => Promise; sendCartView: () => Promise; sendCartRemove: ({ productId, quantity }: { productId: string; quantity: number; }) => Promise; sendCartClear: () => Promise; sendSearch: ({ searchQueryString }: { searchQueryString: string; }) => Promise; sendSearchClear: () => Promise; sendRating: ({ rating, interactionDelay, comment, }: { rating: 1 | 2 | 3 | 4 | 5; interactionDelay?: number; comment?: string; }) => Promise; sendFeedback: ({ feedback, rating, }: { feedback: string; rating?: 1 | 2 | 3 | 4 | 5; }) => Promise; sendQrScan: () => Promise; setState: ({ key, value, expiryDuration, }: { key: string; value: string | number; expiryDuration: number; }) => Promise; } //# sourceMappingURL=signals.service.d.ts.map