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