import type { IPaywall, TPaywallLaunchContext, NamiCampaign, NamiFlow } from '@namiml/sdk-core'; import { LitElement } from 'lit'; export declare class NamiPaywallScreen extends LitElement { paywall: IPaywall; campaign: NamiCampaign; context: TPaywallLaunchContext; active: boolean; private contextProvider; private contextConsumer; private minSDKVersion; timeSpentOnPaywall: number; flow?: NamiFlow; private teardownEvent; private activeTemplate; private footerResizeObserver?; static styles: import("lit").CSSResult; connectedCallback(): void; disconnectedCallback(): void; private userInteractionListener; firstUpdated(): void; protected updated(): void; private updateActiveRenderRoot; private observeFooterHeight; private postImpression; private postPaywallScreenData; /** * Resolve the initially selected SKU group for the SHOW_PAYWALL payload, so a * consumer learns the starting toggle state without waiting for the viewer to * flip it (NAM-1066, NAM-4152). Mirrors Apple's EnvironmentWrapperView.onAppear * and Android's ComponentPaywallViewModel: nothing is reported unless the * paywall actually has something to toggle between. * * The name comes from the group's `displayName` rather than * `state.currentGroupName`, which stays empty until a real toggle interaction * writes it via setCurrentGroupData. * * Ordering is safe here without the explicit priming Apple needs: * connectedCallback builds the context provider (running setPaywall, which * seeds `groups` and `currentGroupId`) before firstUpdated emits. */ private initialGroupChange; private getTemplate; render(): import("lit-html").TemplateResult<1>; }