import type { TransportResult } from '@elastic/elasticsearch' ; function createApiResponseMock < TResponse , TContext > ( apiResponse ) { return { statusCode : null , headers : undefined , warnings : null , meta : { } as any , ... apiResponse , } ; } export const interactiveSetupMock = { createApiResponse : createApiResponseMock , } ;