/** * Provide ServiceType */ export interface ServiceType { name?: string; protocol?: 'tcp' | 'udp' | string | null | undefined; subtypes?: Array; } /** * Format input ServiceType to string * @param data * @returns */ export declare const toString: (data: ServiceType) => string; /** * Format input string to ServiceType * @param string * @returns */ export declare const toType: (string: string) => ServiceType;