<commit_before>// Type definitions for franc 4.0
// Project: https://github.com/wooorm/franc/
// Definitions by: <NAME> <https://github.com/wlegate>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

// ISO 639-3 code (see: https://iso639-3.sil.org/code_tables/639/data)
export type ISO6393 = string;

// Range [0, 1]
export type Confidence = number;

export interface Options {
    minLength?: number;
    whitelist?: ISO6393[];
    blacklist?: ISO6393[];
}

export function detect(text: string, options?: Options): ISO6393;

export namespace detect {
    function all(text: string, options?: Options): [ISO6393, number];
}

export default detect;<commit_msg>Removes default export from types declaration file<commit_after>// Type definitions for franc 4.0
// Project: https://github.com/wooorm/franc/
// Definitions by: <NAME> <https://github.com/wlegate>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

// ISO 639-3 code (see: https://iso639-3.sil.org/code_tables/639/data)
export type ISO6393 = string;

// Range [0, 1]
export type Confidence = number;

export interface Options {
    minLength?: number;
    whitelist?: ISO6393[];
    blacklist?: ISO6393[];
}

export function detect(text: string, options?: Options): ISO6393;

export namespace detect {
    function all(text: string, options?: Options): [ISO6393, number];
}
{'fraction_non_alphanumeric': 0.14264813460131676, 'fraction_numerical': 0.051207022677395755, 'mean_word_length': 4.281853281853282, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, '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': '5412224', 'n_tokens_mistral': 466, 'n_tokens_neox': 434, 'n_words': 120}