import * as React from 'react'; import { MantineProviderProps } from '@mantine/core'; import { ModalsProviderProps } from '@mantine/modals'; import { NotificationsProps } from '@mantine/notifications'; import type { BrowserOptions } from '@sentry/react'; import '@mantine/code-highlight/styles.css'; import '@mantine/core/styles.css'; import '@mantine/dates/styles.css'; import '@mantine/dropzone/styles.css'; import '@mantine/notifications/styles.css'; import '@mantine/tiptap/styles.css'; /** * The main provider for the visyn app context. */ export declare function VisynAppContextProvider({ children, appName, sentryInitOptions, sentryOptions, waitForClientConfig, waitForSentry, }: { children?: React.ReactNode; appName: JSX.Element | string; /** * Options to pass to Sentry.init. The DSN is automatically set from the client config. */ sentryInitOptions?: Omit | (() => Promise>); /** * Additional options for the Sentry integration. * @deprecated Is not used anymore. */ sentryOptions?: { /** * Set the user in Sentry. Defaults to true. * @deprecated Uses the `sendDefaultPii` from now on. */ setUser?: boolean; }; /** * Set this to false to skip the wait for the client config. This is useful if the app works even without the client config. * @default `true` */ waitForClientConfig?: boolean; /** * Set this to true to wait for the Sentry initialization before rendering the children. * @default `true` */ waitForSentry?: boolean; }): React.JSX.Element; /** * The main provider for Mantine in the visyn app. */ export declare function VisynAppMantineProvider({ children, mantineProviderProps, mantineModalsProviderProps, mantineNotificationsProviderProps, }: { children?: React.ReactNode; /** * Props to merge with the `DEFAULT_MANTINE_PROVIDER_PROPS`. */ mantineProviderProps?: Omit; mantineModalsProviderProps?: Omit; mantineNotificationsProviderProps?: Omit; }): React.JSX.Element; /** * The main provider for the visyn app. This provider is responsible for loading the client config, initializing Sentry and providing the user context. * It mounts both the `VisynAppContextProvider` and the `VisynAppMantineProvider`. */ export declare function VisynAppProvider(props: Parameters[0] & Parameters[0]): React.JSX.Element; //# sourceMappingURL=VisynAppProvider.d.ts.map