UNPKG

@namiml/web-sdk

Version:

Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing

25 lines (24 loc) 853 B
import type { IPaywall, TPaywallLaunchContext } from '../types/paywall'; import { LitElement } from 'lit'; import type { NamiCampaign } from '../types/externals/campaign'; import type { NamiFlow } from '../nami/flow/NamiFlow'; export declare class NamiPaywallScreen extends LitElement { paywall: IPaywall; campaign: NamiCampaign; context: TPaywallLaunchContext; private contextProvider; private contextConsumer; private minSDKVersion; timeSpentOnPaywall: number; flow?: NamiFlow; private teardownEvent; static styles: import("lit").CSSResult; connectedCallback(): void; disconnectedCallback(): void; private userInteractionListener; firstUpdated(): void; private postImpression; private postPaywallScreenData; private getTemplate; render(): import("lit-html").TemplateResult<1>; }