import { PaywallUI as BasePaywallUI, PaywallUIOptions } from '@monetize.software/sdk'; /** Options for the extension's PaywallUI. Removed: * - `client` — RemoteBillingClient is created automatically * - `storage` — storage lives in offscreen, content doesn't see it * - `apiKey` — a server-SDK key, meaningless in a content-script * - `fetch` — all network requests go through offscreen * * `auth: true` will wire up RemoteAuthClient. Passing a ready AuthClient from * @monetize.software/sdk here makes no sense (we specifically want the offscreen one). */ export interface ExtensionPaywallUIOptions extends Omit { } export declare class PaywallUI extends BasePaywallUI { /** RemoteEventTracker (a proxy into the offscreen EventTracker). Not to be * confused with the base class's `tracker` (which is null — we disabled the internal one). */ private remoteTracker; private trackerUnsubs; constructor(opts: ExtensionPaywallUIOptions); /** A mirror of sdk/PaywallUI.initTracker's bindings, but with RemoteEventTracker. * Once @monetize.software/sdk exposes a public hook for injecting a tracker, * this method will be replaced with a single line. */ private bindAnalytics; /** A proxy through RemoteEventTracker. Hosts can call paywall.track for * arbitrary analytics events — it flies to the single offscreen tracker * alongside PaywallUI's auto-emits. */ track(name: string, props?: Record): void; destroy(): void; } //# sourceMappingURL=PaywallUI.d.ts.map