import {z} from 'zod' export type MonitorAction = {type: 'enable_shield_mode'} | {type: 'log_events'} | {type: 'notify', message: string, notify: Array} | {type: 'replace_server'} | {type: 'manage_tickets', message: string, service?: string | undefined}; export type Label = string; export type MonitorNotification = string; export type PositiveInteger = number; export type LogsMonitorParameters = {type: 'cdn-logs' | 'csp-reports' | 'pageviews' | 'proxy-logs' | 'custom' | 'events', duration: PositiveInteger, group_by?: (Array | unknown) | undefined, filter?: (string | unknown) | undefined, condition: string}; export type DataTransferBillingThreshold = {type: 'budget' | 'allowance', percent: number}; export type DataTransferBillingMonitorParameters = {budget?: number | undefined, thresholds?: Array | undefined}; export type ObjectMonitorParameters = {attribute: 'static_ips', href: string}; export type NonNegativeInteger = number; export type SignalMonitorParameters = {inactivity_resolution_interval?: (NonNegativeInteger | unknown) | undefined}; export type EmptyObject = Record; export type MonitorConfiguration = {actions?: Array | undefined, name?: string | undefined, description?: string | undefined, labels?: Array