import type { Poool } from 'poool-access'; import { type ComponentPropsWithoutRef, type RefObject } from 'react'; import type { AccessContextValue } from '../contexts'; import type { RestrictedContentRef } from '../RestrictedContent'; export declare interface PaywallRef { containerRef: RefObject; recreate: () => void; create: () => void; destroy: (container: HTMLElement) => void; } export declare interface PaywallProps extends Pick, ComponentPropsWithoutRef<'div'> { /** * Ref to the paywall */ ref?: RefObject; /** * Ref to the content */ contentRef?: RefObject; /** * Custom wrapper component ID */ id?: string; /** * The current page type * * More infos: * https://www.poool.dev/docs/access/javascript/access/installation */ pageType?: Parameters[0]['pageType']; } declare const Paywall: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export default Paywall; //# sourceMappingURL=index.d.ts.map