import { CallAdapterState } from '../adapter/CallAdapter' ; import { useSelectorWithAdaptation } from './useAdaptedSelector' ; private export const useSelector = < SelectorT extends ( state : CallAdapterState , props : any ) => any > ( selector , selectorProps ? ) : ReturnType < SelectorT > => { return useSelectorWithAdaptation ( selector , ( state ) => state , selectorProps ) ; } ;