export declare const ERROR_TYPES: { readonly ECONNRESET: "ECONNRESET"; readonly ECONNREFUSED: "ECONNREFUSED"; readonly EADDRINUSE: "EADDRINUSE"; readonly ETIMEDOUT: "ETIMEDOUT"; }; export declare class ZkError extends Error { readonly cause: Error; readonly ip: string; readonly command: string; constructor(cause: Error, command: string, ip: string); get code(): string | undefined; toast(): string; toJSON(): { err: { message: string; code: string | undefined; }; ip: string; command: string; }; } export declare class ZkNotFoundError extends Error { readonly resource: string; readonly id: string | number; constructor(resource: string, id: string | number); } export declare class ZkConnectionError extends ZkError { readonly port: number; constructor(cause: Error, ip: string, port: number); } //# sourceMappingURL=errors.d.ts.map