<commit_before>// Type definitions for Mapbox GL JS 2.1
// Project: https://github.com/mapbox/mapbox-gl-js
// Definitions by: <NAME> <https://github.com/dobrud>
//                 <NAME> <https://github.com/patrickr>
//                 <NAME> <https://github.com/macobo>
//                 <NAME> <https://github.com/dmytro-gokun>
//                 <NAME> <https://github.com/LiamAttClarke>
//                 <NAME> <https://github.com/life777>
//                 <NAME> <https://github.com/mklopets>
//                 <NAME> <https://github.com/amxfonseca>
//                 makspetrov <https://github.com/Nosfit>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0

/// <reference types="geojson" />

export = mapboxgl;
export as namespace mapboxgl;

declare namespace mapboxgl {
    let accessToken: string;
    let version: string;
    let baseApiUrl: string;

    /**
     * Number of web workers instantiated on a page with GL JS maps.
     * By default, it is set to half the number of CPU cores (capped at 6).
     */
    let workerCount: number;

    /**
     * Maximum number of images (raster tiles, sprites, icons) to load in parallel, which affects performance in raster-heavy maps.
     * 16 by default.
     */
    let maxParallelImageRequests: number;

    export function supported(options?: { failIfMajorPerformanceCaveat?: boolean }): boolean;

    /**
     * Clears browser storage used by this library. Using this method flushes the Mapbox tile cache that is managed by this library.<commit_msg>🤖 Merge PR #53654 Remove self from mapbox-gl maintainers list by @mklopets<commit_after>// Type definitions for Mapbox GL JS 2.1
// Project: https://github.com/mapbox/mapbox-gl-js
// Definitions by: <NAME> <https://github.com/dobrud>
//                 <NAME> <https://github.com/patrickr>
//                 <NAME> <https://github.com/macobo>
//                 <NAME> <https://github.com/dmytro-gokun>
//                 <NAME> <https://github.com/LiamAttClarke>
//                 <NAME> <https://github.com/life777>
//                 <NAME> <https://github.com/amxfonseca>
//                 makspetrov <https://github.com/Nosfit>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0

/// <reference types="geojson" />

export = mapboxgl;
export as namespace mapboxgl;

declare namespace mapboxgl {
    let accessToken: string;
    let version: string;
    let baseApiUrl: string;

    /**
     * Number of web workers instantiated on a page with GL JS maps.
     * By default, it is set to half the number of CPU cores (capped at 6).
     */
    let workerCount: number;

    /**
     * Maximum number of images (raster tiles, sprites, icons) to load in parallel, which affects performance in raster-heavy maps.
     * 16 by default.
     */
    let maxParallelImageRequests: number;

    export function supported(options?: { failIfMajorPerformanceCaveat?: boolean }): boolean;

    /**
     * Clears browser storage used by this library. Using this method flushes the Mapbox tile cache that is managed by this library.
{'fraction_non_alphanumeric': 0.12240332374560563, 'fraction_numerical': 0.00798977309044423, 'mean_word_length': 2.432017543859649, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 21, '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': '6582802', 'n_tokens_mistral': 958, 'n_tokens_neox': 911, 'n_words': 280}