import { readListPrivileges } from '@kbn/securitysolution-list-api' ; import { useAsync , withOptionalSignal } from '@kbn/securitysolution-hook-utils' ; const readListPrivilegesWithOptionalSignal = withOptionalSignal ( readListPrivileges ) ; export const useReadListPrivileges = ( ) => useAsync ( readListPrivilegesWithOptionalSignal ) ;