import { type ReactNode } from 'react'; /** * Props for {@link AppStateProvider}. */ export interface AppStateProviderProps { children: ReactNode; /** * Whether to use user-scoped or app-scoped state. * - `'user'`: state is stored per user per app (default is `'user'`) * - `'app'`: state is shared across all users of the app */ scope?: 'user' | 'app'; /** * Called when the initial state fetch or a mutation fails. */ onError?: (error: Error) => void; } /** * Provides reactive access to Dynatrace app state for its subtree. * * Wrap your app (or a section of it) in `` and use * `_useUserAppState` / `_useAppState` to read and write persisted state keys. */ export declare function AppStateProvider({ children, scope, onError, }: AppStateProviderProps): import("react/jsx-runtime").JSX.Element;