UNPKG

@revenuecat/purchases-ui-js

Version:

Web components for Paywalls. Powered by RevenueCat

10 lines (9 loc) 467 B
import type { PaywallData } from "../types/paywall"; import type { PaywallRootBackgroundModel } from "./background-utils"; import type { ColorMode } from "../types"; import type { ColorScheme } from "../types/colors"; export declare function applyDocumentBackground(instanceId: symbol, model: PaywallRootBackgroundModel, options: { paywallData: PaywallData | null | undefined; colorMode: ColorMode; hostFallbackColor?: ColorScheme | null; }): () => void;