<commit_before>// Type definitions for angular-signalr-hub v1.5.0
// Project: https://github.com/JustMaier/angular-signalr-hub
// Definitions by: <NAME> <https://github.com/AdamSantaniello>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference path='../signalr/signalr.d.ts' />

declare module ngSignalr {
    interface HubFactory {
        /**
         * Creates a new Hub connection
         */
        new(hubName: string, options: HubOptions) : Hub
    }
    
    class Hub {
        hubName: string;
        connection: SignalR;
        proxy: HubProxy;
        
        on(event: string, fn: ((...args: any[]) => void)): void;
        invoke(method: string, ...args: any[]): JQueryDeferred<any>;
        disconnect(): void;
        connect(): JQueryPromise<any>;
    }
    
    interface HubOptions {
        /**
         * Collection of client side callbacks<commit_msg>Update angular-signalr-hub.d.ts<commit_after>// Type definitions for angular-signalr-hub v1.5.0
// Project: https://github.com/JustMaier/angular-signalr-hub
// Definitions by: <NAME> <https://github.com/AdamSantaniello>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference path='../signalr/signalr.d.ts' />

declare module ngSignalr {
    interface HubFactory {
        /**
         * Creates a new Hub connection
         */
        new(hubName: string, options: HubOptions) : Hub
    }
    
    class Hub {
        hubName: string;
        connection: SignalR;
        proxy: HubProxy;
        
        on(event: string, fn: (...args: any[]) => void): void;
        invoke(method: string, ...args: any[]): JQueryDeferred<any>;
        disconnect(): void;
        connect(): JQueryPromise<any>;
    }
    
    interface HubOptions {
        /**
         * Collection of client side callbacks
{'fraction_non_alphanumeric': 0.14065934065934066, 'fraction_numerical': 0.0032967032967032967, 'mean_word_length': 2.2870036101083033, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 6, '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': '2391609', 'n_tokens_mistral': 543, 'n_tokens_neox': 538, 'n_words': 124}