/// import { ICurrentUser, ISession, ISessionContext } from "@leight-core/leight"; export declare const SessionContext: import("react").Context>; /** * Access to current user stuff and also methods controlling user's login/logout status. */ export declare const useSessionContext: () => ISessionContext; /** * Requires current user by it's ID; if the user has no ID, an error is thrown. */ export declare const useCurrentUser: () => ICurrentUser;