import { IHttpClient } from '@/common/http'; import { UnlockOptionsEventName, IUnlockOptionsEvent } from '@/common/rewards/reward-emitter'; import { IAdBreakParams } from '@/common/ads'; import { EventPromiseHandler } from '../../event-listener'; import { createInitiateAndAwaitPayment, createShowUnloginModal } from '../commands'; import { createShowUnlockWithCurrencyModal } from '../commands/use-jolicoin'; export declare const createCommonGemRewardHandler: (type: "JOLI_GEM" | "ADS-JOLI_GEM", httpClient: IHttpClient, { handlers: { handleUnlockSuccess, handleUnlockFailed, unlockOptionsHandler, initiateAndAwaitPayment, showUnlockWithCurrencyModal, showUnloginModal, hasSubscription } }: { handlers: { handleUnlockSuccess?: (data: { quantity: number; balance: number; }) => void; handleUnlockFailed?: (params: IAdBreakParams) => void; unlockOptionsHandler: EventPromiseHandler; initiateAndAwaitPayment: ReturnType; showUnlockWithCurrencyModal: ReturnType; showUnloginModal: ReturnType; hasSubscription?: () => boolean; }; }) => (params: IAdBreakParams) => Promise;