import type { Alert } from "./alert"; export interface IPAddress { address: string; gateway: string | null; serviceAddress: boolean; } export interface Interface { ipAddresses: Array; maxBandwidth: number | null; monitor: boolean; mtu: number | null; name: string; } export declare function serviceAddresses(infs: Array, exhaustive?: boolean): [ipv4Address: IPAddress | null, ipv6Address: IPAddress | null]; export interface ResponseServer { cachegroup: string; cachegroupId: number; cdnId: number; cdnName: string; domainName: string; guid: number | null; hostName: string; httpsPort: number | null; readonly id: number; iloIpAddress: string | null; iloIpGateway: string | null; iloIpNetmask: string | null; iloPassword: string | null; iloUsername: string | null; interfaces: Array; readonly lastUpdated: Date; mgmtIpAddress: string | null; mgmtIpGateway: string | null; mgmtIpNetmask: string | null; offlineReason: string | null; physLocation: string; physLocationId: number; profileNames: Array; revalPending: boolean; rack: string | null; routerHostName: string | null; routerPortName: string | null; status: string; statusId: number; statusLastUpdated: Date | null; tcpPort: number | null; type: string; typeId: number; updPending: boolean; readonly xmppId: string; xmppPasswd?: string | null; } export interface RequestServer { cachegroupId: number; cdnId: number; domainName: string; guid?: number | null; hostName: string; httpsPort?: number | null; iloIpAddress?: string | null; iloIpGateway?: string | null; iloIpNetmask?: string | null; iloPassword?: string | null; iloUsername?: string | null; interfaces: Array; mgmtIpAddress?: string | null; mgmtIpGateway?: string | null; mgmtIpNetmask?: string | null; offlineReason?: string | null; physLocationId: number; profileNames: Array; rack?: string | null; routerHostName?: string | null; routerPortName?: string | null; statusId: number; tcpPort?: number | null; typeId: number; } export declare type Server = RequestServer | ResponseServer; export interface Servercheck { adminState: string; cacheGroup: string; checks?: Record; hostName: string; id: number; profile: string; revalPending: boolean; type: string; updPending: boolean; } export interface ServercheckUploadRequest { host_name: string; id: number; servercheck_short_name: string; value: string | number; } export declare function checkMap(srv: Servercheck): Map; export interface RequestServercheckExtension { additional_config_json?: string | null; description?: string | null; info_url: string; isactive: 0 | 1; name: string; servercheck_short_name: string; script_file: string; type: string; version: string; } export interface RequestServercheckExtensionResponse { alerts: Array; supplemental: { readonly id: number; }; } export interface ResponseServercheckExtension { additional_config_json: string | null; description: string | null; readonly id: number; info_url: string; isactive: 0 | 1; name: string; servercheck_short_name: string; script_file: string; type: string; version: string; } export declare type ServercheckExtension = RequestServercheckExtension | ResponseServercheckExtension; export interface ServerDetails { cachegroup: string; cdnName: string; deliveryservices?: [number, ...number[]]; domainName: string; guid: string | null; hardwareInfo: unknown; hostName: string; httpsPort: number | null; readonly id: number; iloIpAddress: string; iloIpGateway: string; iloIpNetmask: string; iloPassword: string; iloUsername: string; interfaces: Array; mgmtIpAddress: string; mgmtIpGateway: string; mgmtIpNetmask: string; offlineReason: string; physLocation: string; profileNames: Array; rack: string; routerHostName: string; routerPortName: string; status: string; tcpPort: number | null; type: string; xmppId: string; xmppPasswd: string; } export interface ServerUpdateStatus { configApplyTime: Date; configUpdateTime: Date; host_id: number; host_name: string; parent_pending: boolean; parent_reval_pending: boolean; revalUpdateTime: Date; revalApplyTime: Date; reval_pending: boolean; status: string; upd_pending: boolean; use_reval_pending: boolean; } export interface ServerDeliveryServices { dsIds: Array; serverId: number; replace: boolean; }