import * as t from 'io-ts' ; export type Maybe < T > = T | null | undefined ; import { ALERT_STATUS_ACTIVE , ALERT_STATUS_RECOVERED } from '@kbn/rule-data-utils' ; export const alertWorkflowStatusRt = t . keyof ( { open : null , acknowledged : null , closed : null , } ) ; export type AlertWorkflowStatus = t . TypeOf < typeof alertWorkflowStatusRt > ; export interface ApmIndicesConfig { sourcemap : string ; error : string ; onboarding : string ; span : string ; transaction : string ; metric : string ; apmAgentConfigurationIndex : string ; apmCustomLinkIndex : string ; } export type AlertStatusFilterButton = typeof ALERT_STATUS_ACTIVE | typeof ALERT_STATUS_RECOVERED | '' ; export interface AlertStatusFilter { status : AlertStatusFilterButton ; query : string ; label : string ; }