import React from 'react'; import type { PaywallProps } from './Paywall.js'; export interface PaywallModalProps extends PaywallProps { /** Controls modal visibility */ visible: boolean; /** Called when the modal should close (via the close button or back gesture) */ onClose: () => void; } /** * Wraps in a React Native Modal for convenience. * * @example * ```tsx * const [showPaywall, setShowPaywall] = useState(false); * const { subscribe, restore, isLoading } = useOneSub(); * * setShowPaywall(false)} * config={paywallConfig} * onSubscribe={subscribe} * onRestore={restore} * isLoading={isLoading} * /> * ``` */ export declare function PaywallModal({ visible, onClose, config, onSubscribe, onRestore, isLoading, }: PaywallModalProps): React.JSX.Element; //# sourceMappingURL=PaywallModal.d.ts.map