<commit_before>// Type definitions for node-red 0.17
// Project: http://nodered.org
// Definitions by: <NAME> <https://github.com/andersea>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

/// <reference types="node" />

import EventEmitter = require('events');

/**
 * Node-RED node creation api.
 */
export interface Red {
    /** Node lifecycle management api. Used by all nodes. */
    nodes: Nodes;
    log: any;
    settings: any;
    events: any;
    util: any;
    /** Returns the version of the running Node-RED environment. */
    version(): string;
}

/**
 * Node base type.
 *
 * See the Nodes interfaces registerType() method for information about<commit_msg>Adding more siblings to Red interface in node-red (#25013)<commit_after>// Type definitions for node-red 0.17
// Project: http://nodered.org
// Definitions by: <NAME> <https://github.com/andersea>
//                 <NAME> <https://github.com/tbowmo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

/// <reference types="node" />

import EventEmitter = require('events');

/**
 * Node-RED node creation api.
 */
export interface Red {
    /** Node lifecycle management api. Used by all nodes. */
    nodes: Nodes;
    log: any;
    settings: any;
    events: any;
    util: any;
    httpAdmin: any;
    auth: any;
    comms: any;
    library: any;
    httpNode: any;
    server: any;
    /** Returns the version of the running Node-RED environment. */
    version(): string;
}

/**
 * Node base type.
 *
 * See the Nodes interfaces registerType() method for information about
{'fraction_non_alphanumeric': 0.13963414634146343, 'fraction_numerical': 0.009146341463414634, 'mean_word_length': 2.9542168674698797, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5493417', 'n_tokens_mistral': 497, 'n_tokens_neox': 488, 'n_words': 159}