import { buildProcessorFunction } from '../build_processor_function' ; import { percentile , percentileRank , stdMetric , stdSibling , math , seriesAgg , dropLastBucketFn , } from '../response_processors/table' ; import type { TableResponseProcessorsFunction , TableResponseProcessorsParams , TableSearchResponse , } from '../response_processors/table/types' ; export function buildTableResponse ( params ) { const processor = buildProcessorFunction < TableResponseProcessorsFunction , TableResponseProcessorsParams , TableSearchResponse > ( [ percentile , percentileRank , stdMetric , stdSibling , math , seriesAgg , dropLastBucketFn ] , params ) ; return processor ( [ ] ) ; }