/**
 * A custom exception class used for handling RouterOS-specific errors.
 * Wraps error codes with human-readable messages and formatting support.
 */
export declare class RosException extends Error {
    errno: string;
    /**
     * Construct a RosException with a specific error code and optional context.
     * Replaces placeholders in the error message using the extras provided.
     *
     * @param errno - The error code string (e.g., 'SOCKTMOUT', 'UNREGISTEREDTAG')
     * @param extras - Optional values to interpolate into the error message.
     */
    constructor(errno: string, extras?: Record<string, any>);
}
