"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWordList = void 0;
const types_1 = require("@scrabble-solver/types");
const lib_1 = require("../lib");
const FILE_URL = 'https://raw.githubusercontent.com/kamilmielnik/scrabble-dictionaries/master/romanian/loc-5.0.txt';
const getWordList = async () => {
    const words = await (0, lib_1.getTxtWordList)(FILE_URL, types_1.Locale.RO_RO);
    return (0, lib_1.transliterateDiacritics)(words);
};
exports.getWordList = getWordList;
