import { MantineThemeOverride } from '@mantine/core'; import { i18n, ResourceLanguage } from 'i18next'; import { default as React } from 'react'; type ArchbaseThemeOverride = MantineThemeOverride; interface ArchbaseTranslationResource { [language: string]: ResourceLanguage; } interface ArchbaseAppProviderProps { children?: React.ReactNode; colorScheme: 'dark' | 'light'; containerIOC: any | undefined; themeDark?: ArchbaseThemeOverride; themeLight?: ArchbaseThemeOverride; withCssVariables?: boolean; notificationAutoClose?: number; translationName?: string | string[]; translationResource?: ArchbaseTranslationResource; notificationPosition?: 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center'; } export declare const initArchbaseI18nEarly: (translationName: string | string[], translationResource: any) => void; export declare const initArchbaseTranslation: (translationName: any, translationResource: any) => Promise; export declare const getI18nextInstance: () => i18n; export declare const archbaseI18next: i18n; export declare const useArchbaseTranslation: (namespace?: string) => { t: (key: string, options?: any) => string | object; i18n: i18n; ready: boolean; }; export declare const syncSafeTranslate: (key: string) => string; declare function ArchbaseGlobalProvider({ children, colorScheme, containerIOC, themeDark, themeLight, withCssVariables, notificationAutoClose, notificationPosition, translationName, translationResource, }: ArchbaseAppProviderProps): import("react/jsx-runtime").JSX.Element; export { ArchbaseGlobalProvider }; export type { ArchbaseThemeOverride };