import type { Assign } from '@kbn/utility-types' ; import { useContext } from 'react' ; import type { UxUrlParams } from './types' ; import { UrlParamsContext } from './url_params_context' ; export function useUxUrlParams ( ) { return useContext ( UrlParamsContext ) ; }