///
type SessionState = {
origin: string;
logged: boolean;
username: string | null;
userId: string | null;
refreshToken: string | null;
accessToken: string | null;
accessTokenExpire: number;
refreshTokenExpire: number;
scope: string | null;
};
type SessionContextState = SessionState & {
login: (credentail: string) => void;
getAccessToken: (scope?: string) => Promise;
getAppToken: (app: string) => Promise;
};
declare const useSession: () => SessionContextState;
export declare function SessionManager(props: any): JSX.Element;
export { useSession };