import * as t from 'io-ts' ; import { isoToEpochRt } from '@kbn/io-ts-utils/iso_to_epoch_rt' ; export { environmentRt } from '../../common/environment_rt' ; export const rangeRt = t . type ( { start : isoToEpochRt , end : isoToEpochRt , } ) ; export const offsetRt = t . partial ( { offset : t . string } ) ; export const comparisonRangeRt = t . partial ( { comparisonStart : isoToEpochRt , comparisonEnd : isoToEpochRt , } ) ; export const kueryRt = t . type ( { kuery : t . string } ) ;