import * as react_jsx_runtime from 'react/jsx-runtime'; import { NovuOptions, Novu } from '@novu/js'; import { ReactNode } from 'react'; type NovuProviderProps = NovuOptions & { /** * When `false`, disables the WebSocket subscription that auto-injects * newly received notifications into the list and subscription that auto-resync * notification counts. Built-in mutations like * `readAll`, `seenAll`, `archiveAll`, and `archiveAllRead` continue to * update local state. Use this when you want to drive new-notification updates yourself (e.g. * via your own `novu.on('notifications.notification_received', ...)` * handler combined with `refetch()`). Defaults to `true`. */ realtime?: boolean; children: ReactNode; }; declare const NovuProvider: (props: NovuProviderProps) => react_jsx_runtime.JSX.Element; /** * @internal Should be used internally not to be exposed outside of the library */ declare const InternalNovuProvider: (props: NovuProviderProps) => react_jsx_runtime.JSX.Element; declare const useNovu: () => Novu; declare const useUnsafeNovu: () => Novu; declare const useRealtime: () => boolean; export { InternalNovuProvider, NovuProvider, useNovu, useRealtime, useUnsafeNovu }; export type { NovuProviderProps };