<commit_before>// Type definitions for react-native-doc-viewer 2.4
// Project: https://github.com/philipphecht/react-native-doc-viewer/blob/master/README.md
// Definitions by: <NAME> <https://github.com/iRoachie>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

export function openDoc(
    files: Array<{ url: string; fileName?: string }>,
    callback: (error: string, url: string) => void
): void;
<commit_msg>react-native-doc-viewer types update<commit_after>// Type definitions for react-native-doc-viewer 2.7
// Project: https://github.com/philipphecht/react-native-doc-viewer/blob/master/README.md
// Definitions by: <NAME> <https://github.com/iRoachie>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

export function openDoc(
    files: Array<{
        url: string;
        fileName?: string,
        fileNameOptional?: string,
        cache?: boolean,
        fileType?: string
    }>,
    callback: (error: string, url: string) => void
): void;

{'fraction_non_alphanumeric': 0.14885496183206107, 'fraction_numerical': 0.007633587786259542, 'mean_word_length': 3.6415929203539825, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '4029354', 'n_tokens_mistral': 334, 'n_tokens_neox': 334, 'n_words': 74}