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