import type { AgentConfigOptions } from 'elastic-apm-node' ; export function shouldInstrumentClient ( config ? ) { return Boolean ( config ?. active === true && config . contextPropagationOnly !== true && config . disableSend !== true ) ; }