import type { PostTransformsPreviewRequestSchema } from '../../../common/api_schemas/transforms' ; import { PivotQuery } from './request' ; export const INIT_MAX_COLUMNS = 20 ; export const getPivotPreviewDevConsoleStatement = ( request ) => { return `POST _transform/_preview\n${ JSON . stringify ( request , null , 2 ) }\n` ; } ; export const getIndexDevConsoleStatement = ( query , indexPatternTitle ) => { return `GET ${ indexPatternTitle }/_search\n${ JSON . stringify ( { query , } , null , 2 ) }\n` ; } ;