import { IHttpClient } from '@/common/http'; import { IAdBreakParams } from '@/common/ads'; import { EventPromiseHandler } from '../event-listener'; import { UnlockOptionsEventName, IUnlockOptionsEvent } from '@/common/rewards/reward-emitter'; import { createShowSubscriptionModal } from './commands/use-subscription'; export declare const createCommonSubscriptionHandler: (type: "SUBSCRIPTION", httpClient: IHttpClient, { handlers: { handleSubSuccess, handleSubFailed, unlockOptionsHandler, showSubscriptionModal, hasSubscription } }: { handlers: { handleSubSuccess?: () => void; handleSubFailed?: (params: IAdBreakParams) => void; unlockOptionsHandler: EventPromiseHandler; showSubscriptionModal: ReturnType; hasSubscription?: () => boolean; }; }) => (params: IAdBreakParams) => Promise;