import { EventEmitter } from "events"; import { LinuxCNCError } from "@linuxcnc-node/types"; export declare const DEFAULT_ERROR_POLL_INTERVAL = 100; export interface ErrorChannelOptions { pollInterval?: number; } interface ErrorChannelEvents { message: [message: LinuxCNCError]; operatorError: [message: LinuxCNCError]; operatorText: [message: LinuxCNCError]; operatorDisplay: [message: LinuxCNCError]; nmlError: [message: LinuxCNCError]; nmlText: [message: LinuxCNCError]; nmlDisplay: [message: LinuxCNCError]; } export declare class ErrorChannel extends EventEmitter { private nativeInstance; private poller; private isPolling; constructor(options?: ErrorChannelOptions); private poll; destroy(): void; } export {};