// eslint-disable-next-line @typescript-eslint/no-explicit-any export interface IntegrationFactory { name: string context: T isAvailable: (context: T) => Promise | boolean onConfigChange?: (context: T) => Promise | void } export function createIntegration( options: IntegrationFactory, ) { return options }