export declare class APIVersion { /** * Zabbix API version object. * * @param apiver - Raw version in string format. */ private readonly __raw; private readonly __first; private readonly __second; private readonly __third; constructor(apiver: string); /** * Get a symbol from the raw version string by index * For compatibility with using Zabbix version as a string */ [Symbol.iterator](): Iterator; charAt(index: number): string; /** * Check if the current version is LTS. * * @returns true if the current version is LTS. */ isLts(): boolean; /** * Get major version number. * * @returns A major version number. */ get major(): number; /** * Get minor version number. * * @returns A minor version number. */ get minor(): number; private __parseVersion; toString(): string; valueOf(): string; equals(other: number | string): boolean; greaterThan(other: number | string): boolean; lessThan(other: number | string): boolean; notEquals(other: number | string): boolean; greaterThanOrEqual(other: number | string): boolean; lessThanOrEqual(other: number | string): boolean; } export declare class TrapperResponse { /** * Contains response from Zabbix server/proxy. * * @param chunk - Current chunk number. Defaults to 1. */ private __processed; private __failed; private __total; private __time; private __chunk; details: any; constructor(chunk?: number); toString(): string; /** * Parse response from Zabbix. * * @param response - Raw response from Zabbix. * @throws ProcessingError if unexpected response received */ parse(response: Record): Record; /** * Add and merge response data from Zabbix. * * @param response - Raw response from Zabbix. * @param chunk - Chunk number. Defaults to null. */ add(response: Record, chunk?: number): void; /** * Get processed count */ get processed(): number; /** * Get failed count */ get failed(): number; /** * Get total count */ get total(): number; /** * Get time spent */ get time(): number; /** * Get chunk number */ get chunk(): number; } export declare class ItemValue { /** * Zabbix item value object. * * @param host - Host name. * @param key - Item key. * @param value - Item value. * @param clock - Timestamp. Defaults to current time. * @param ns - Nanoseconds. Defaults to null. */ host: string; key: string; value: string; clock: number; ns?: number; constructor(host: string, key: string, value: string, clock?: number, ns?: number); toString(): string; valueOf(): string; toJson(): Record; } export declare class Node { /** * Zabbix HA node object. * * @param addr - Node address. * @param port - Node port. */ addr: string; port: number; constructor(addr: string, port: number | string); toString(): string; valueOf(): string; } export declare class Cluster { /** * Zabbix HA cluster object. * * @param addr - List of node addresses. */ nodes: Node[]; constructor(addr: string[]); private __parseHaNode; toString(): string; valueOf(): string; } export declare class AgentResponse { /** * Zabbix agent response object. * * @param response - Raw response from Zabbix agent. */ raw: string; value?: string; error?: string; constructor(response: string); toString(): string; valueOf(): string; } //# sourceMappingURL=types.d.ts.map