import React from 'react'; import type { PaywallConfig } from '@onesub/shared'; export interface PaywallProps { config: PaywallConfig; /** Called when the user taps the main CTA button */ onSubscribe: () => Promise | void; /** Called when the user taps the restore link */ onRestore?: () => Promise | void; /** Called when the user taps the close button (if shown) */ onClose?: () => void; /** Pass true while a purchase / restore is in progress */ isLoading?: boolean; } export declare function Paywall({ config, onSubscribe, onRestore, onClose, isLoading }: PaywallProps): React.JSX.Element; //# sourceMappingURL=Paywall.d.ts.map