import { IBasePath } from 'kibana/public' ; import { AgentConfigurationIntake } from '../../../../../common/agent_configuration/configuration_types' ; import { getLegacyApmHref } from './apm_link' ; export function editAgentConfigurationHref ( configService , search , basePath ) { return getLegacyApmHref ( { basePath , path : '/settings/agent-configuration/edit' , search , query : { name : configService . name , environment : configService . environment , } , } ) ; }