UNPKG

@namiml/web-sdk

Version:

Subscription monetization infrastructure — drop-in SDK with no-code paywalls, onboarding flows, A/B testing for web

10 lines (9 loc) 515 B
import type { IUIAdapter, PaywallHandle, FlowNavigationOptions } from '@namiml/sdk-core'; import type { IPaywall } from '@namiml/sdk-core'; import type { NamiPaywallLaunchContext } from '@namiml/sdk-core'; export declare class WebUIAdapter implements IUIAdapter { createPaywall(type: string | undefined, value: string, context: NamiPaywallLaunchContext): PaywallHandle; reRenderPaywall(): void; flowNavigateToScreen(paywall: IPaywall, options: FlowNavigationOptions): void; postConfigure(): void; }