import type { TypedUseSelectorHook } from 'react-redux'; import type { AuthStore } from './types'; import type { CoreAppStore } from '../../types'; import type { CommonModuleState } from '../types'; export declare const useAppSelector: TypedUseSelectorHook; export declare const getAuthStore: (store: CoreAppStore) => AuthStore; /** * Gets whether the user is logged in * * @param {object} store store object from which the auth state will be extracted * @returns {boolean} true if user is logged in */ export declare const getIsLoggedIn: ((state: CoreAppStore) => boolean) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: AuthStore) => boolean; memoizedResultFunc: ((resultFuncArgs_0: AuthStore) => boolean) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => boolean; dependencies: [(store: CoreAppStore) => AuthStore]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { argsMemoize: typeof import("reselect").weakMapMemoize; memoize: typeof import("reselect").weakMapMemoize; }; /** * Gets the current auth credentials * * @param {object} store store object from which the auth state will be extracted * @returns {Credentials | undefined} the auth credentials or undefined */ export declare const getCredentials: ((state: CoreAppStore) => import("./types").Credentials | undefined) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: AuthStore) => import("./types").Credentials | undefined; memoizedResultFunc: ((resultFuncArgs_0: AuthStore) => import("./types").Credentials | undefined) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => import("./types").Credentials | undefined; dependencies: [(store: CoreAppStore) => AuthStore]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { argsMemoize: typeof import("reselect").weakMapMemoize; memoize: typeof import("reselect").weakMapMemoize; }; /** * Gets the current role * * @param {object} store store object from which the auth state will be extracted * @returns {Role[] | undefined} the current role */ export declare const getCurrentRoles: ((state: CoreAppStore) => import("./types").Role[] | undefined) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: AuthStore) => import("./types").Role[] | undefined; memoizedResultFunc: ((resultFuncArgs_0: AuthStore) => import("./types").Role[] | undefined) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => import("./types").Role[] | undefined; dependencies: [(store: CoreAppStore) => AuthStore]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { argsMemoize: typeof import("reselect").weakMapMemoize; memoize: typeof import("reselect").weakMapMemoize; };