import type { Background } from "./background"; import type { FooterProps } from "./components/footer"; import type { StackProps } from "./components/stack"; import type { Localizations } from "./localization"; export interface RootPaywall { background?: Background; stack: StackProps; sticky_footer?: FooterProps | null; } export interface ComponentConfig { colors?: Record; fonts?: { [fontName: string]: { ios: string; android: string; web: string; }; }; asset_base_url?: string; base: RootPaywall; } export interface PaywallData { default_locale: string; components_config: ComponentConfig; components_localizations: Localizations; }