<commit_before>// Type definitions for needle 1.4
// Project: https://github.com/tomas/needle
// Definitions by: <NAME> <https://github.com/bigsan>, <NAME> <https://github.com/nikeee>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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

declare module "needle" {
    import * as http from 'http';
    import * as Buffer from 'buffer';
    import * as https from 'https';
    namespace Needle {
        interface NeedleResponse extends http.IncomingMessage {
            body: any;
            raw: Buffer;
            bytes: number;
        }

        type ReadableStream = NodeJS.ReadableStream;

        type NeedleCallback = (error: Error, response: NeedleResponse, body: any) => void;

        interface Cookies {
            [name: string]: any;
        }

        type NeedleOptions = RequestOptions & ResponseOptions & RedirectOptions & https.RequestOptions;

        interface RequestOptions {<commit_msg>Updating needle version and authors<commit_after>// Type definitions for needle 2.0
// Project: https://github.com/tomas/needle
// Definitions by: <NAME> <https://github.com/bigsan>, <NAME> <https://github.com/nikeee>, <NAME> <https://github.com/sindilevich>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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

declare module "needle" {
    import * as http from 'http';
    import * as Buffer from 'buffer';
    import * as https from 'https';
    namespace Needle {
        interface NeedleResponse extends http.IncomingMessage {
            body: any;
            raw: Buffer;
            bytes: number;
        }

        type ReadableStream = NodeJS.ReadableStream;

        type NeedleCallback = (error: Error, response: NeedleResponse, body: any) => void;

        interface Cookies {
            [name: string]: any;
        }

        type NeedleOptions = RequestOptions & ResponseOptions & RedirectOptions & https.RequestOptions;

        interface RequestOptions {
{'fraction_non_alphanumeric': 0.11396873424104892, 'fraction_numerical': 0.002017145738779627, 'mean_word_length': 2.6945996275605215, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, 'https://': 9, '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': '1425615', 'n_tokens_mistral': 548, 'n_tokens_neox': 535, 'n_words': 152}