import { Context, Dispatch, PropsWithChildren, SetStateAction } from "react"; import { User } from "@one-profile/core"; type AppContextProvider = { user: User; getAccessToken: () => Promise; }; type AppConfig = { isUserClt?: boolean; accountId?: string; }; export type AppContext = AppContextProvider & { appConfig: AppConfig; setAppConfig: Dispatch>; }; export declare const appContext: Context; export declare function AppContextProvider(props: PropsWithChildren): JSX.Element; export {};