UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

14 lines (12 loc) 781 B
import { TypedUseSelectorHook } from 'react-redux'; import { ReduxState, VerificationService, VerificationStore, ViewModel } from '../types/types'; export declare const useAppSelector: TypedUseSelectorHook<ReduxState>; export declare const useAppDispatch: () => VerificationStore["dispatch"]; export declare const useProgramId: () => string; export declare const useProgramTheme: () => import('../types/types').ProgramTheme; export declare const useVerificationResponse: () => import('../types/types').VerificationResponse; export declare const useViewModel: <T extends ViewModel = ViewModel>() => T; /** * @deprecated use only the needed state slice custom hook(s). */ export declare const useVerificationService: <T extends ViewModel = ViewModel>() => VerificationService<T>;