export interface Props { children: (params: { createSubscription: () => Promise; isPushAPISupported: boolean; }) => JSX.Element; serviceWorkerPath?: string; skipServiceWorkerRegistration?: boolean; } /** * Headless component to create subscriptions to push notifications for the * current user. * * @example * * {({ createSubscription }) => ( * * )} * */ export default function PushNotificationsSubscriber({ children, serviceWorkerPath, skipServiceWorkerRegistration, }: Props): JSX.Element;