import type { PublicMethodsOf } from '@kbn/utility-types' ; import type { IRouter , Logger } from 'src/core/server' ; import type { ConfigType } from '../config' ; import type { EncryptionKeyRotationService } from '../crypto' ; import { defineKeyRotationRoutes } from './key_rotation' ; /**
 * Describes parameters used to define HTTP routes.
 */ export interface RouteDefinitionParams { router : IRouter ; logger : Logger ; config : ConfigType ; encryptionKeyRotationService : PublicMethodsOf < EncryptionKeyRotationService > ; } export function defineRoutes ( params ) { defineKeyRotationRoutes ( params ) ; }