import React, { ReactNode } from 'react';
import { SnackbarProviderProps } from 'notistack';
import type { InitializeI18nOptions } from '../utilities/i18n/initializeI18n';
export interface UdpDevToolsOptions {
/** Show the React Query DevTools panel. Defaults to false. */
query?: boolean;
}
export interface UdpAppProviderProps {
children: ReactNode;
/**
* Props forwarded to the SnackbarProvider from notistack.
*/
snackbarProps?: SnackbarProviderProps;
/**
* Props forwarded to the AuthProviderWrapper.
*/
authProps?: {
doNotWaitForTenant?: boolean;
};
/**
* Optional configuration overrides for the shared i18n instance.
*/
i18nOptions?: InitializeI18nOptions;
/**
* Enable developer tools for debugging. All options default to false.
*/
devTools?: UdpDevToolsOptions;
}
/**
* Bundles the core UDP providers (theme, snackbar, auth) and ensures the shared
* i18n instance is initialised exactly once. Intended to be rendered beneath a
* react-router so the auth provider has access to history.
*/
export declare const UdpAppProvider: React.FC;
//# sourceMappingURL=UdpAppProvider.d.ts.map