import React from "react";
import { AppOptions } from "./App";
type ConfigContextType = {
    endpoint: string;
    accessToken: string;
    isAdmin: boolean;
    basePath: string;
    options?: AppOptions;
};
type ConfigProviderProps = {
    children: React.ReactNode;
    initialConfig: ConfigContextType;
};
export declare function useConfig(): ConfigContextType;
export declare function ConfigProvider({ children, initialConfig, }: ConfigProviderProps): JSX.Element;
export {};
