@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
13 lines (12 loc) • 780 B
TypeScript
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>;