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, createShowUnlockWithCurrencyModal, createShowUnloginModal } from '../commands'; export declare const createCommonJolicoinRewardHandler: (type: "JOLI_COIN" | "ADS-JOLI_COIN", httpClient: IHttpClient, config: { 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;