<commit_before>// Type definitions for mri 1.1
// Project: https://github.com/lukeed/mri
// Definitions by: <NAME> <https://github.com/shiftkey>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4

export = mri;

declare function mri(args: ReadonlyArray<string>, options?: mri.Options): mri.Argv;

declare namespace mri {
    const prototype: {
    };

    /** A string or array of strings */
    type ArrayOrString = string | ReadonlyArray<string>;

    /** An object with any keys whose values conform to a specific type */
    interface DictionaryObject<T = any> {
        [key: string]: T;
    }

    interface Options {
        /** Additional aliases for specific flags */
        alias?: DictionaryObject<ArrayOrString>;
        /** A flag or array of flags whose values are boolean */
        boolean?: ArrayOrString;
        /** Default values for flags */
        default?: DictionaryObject;
        string?: ArrayOrString;
        unknown?: (flag: string) => void;
    }

    interface Argv extends DictionaryObject {
        /** anything after `--` or between options */
        _: ReadonlyArray<string>;
    }
}
<commit_msg>add another reviewer<commit_after>// Type definitions for mri 1.1
// Project: https://github.com/lukeed/mri
// Definitions by: <NAME> <https://github.com/shiftkey>, <NAME> <https://github.com/j-f1>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4

export = mri;

declare function mri(args: ReadonlyArray<string>, options?: mri.Options): mri.Argv;

declare namespace mri {
    const prototype: {
    };

    /** A string or array of strings */
    type ArrayOrString = string | ReadonlyArray<string>;

    /** An object with any keys whose values conform to a specific type */
    interface DictionaryObject<T = any> {
        [key: string]: T;
    }

    interface Options {
        /** Additional aliases for specific flags */
        alias?: DictionaryObject<ArrayOrString>;
        /** A flag or array of flags whose values are boolean */
        boolean?: ArrayOrString;
        /** Default values for flags */
        default?: DictionaryObject;
        string?: ArrayOrString;
        unknown?: (flag: string) => void;
    }

    interface Argv extends DictionaryObject {
        /** anything after `--` or between options */
        _: ReadonlyArray<string>;
    }
}

{'fraction_non_alphanumeric': 0.12056737588652482, 'fraction_numerical': 0.0037546933667083854, 'mean_word_length': 2.735202492211838, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 7, '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': '3584814', 'n_tokens_mistral': 669, 'n_tokens_neox': 653, 'n_words': 208}