"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWordListUs = exports.getWordListGb = void 0;
const types_1 = require("@scrabble-solver/types");
const lib_1 = require("../lib");
const EN_GB_FILE_URL = 'https://raw.githubusercontent.com/kamilmielnik/scrabble-dictionaries/refs/heads/master/english/sowpods.txt';
const EN_US_FILE_URL = 'https://raw.githubusercontent.com/kamilmielnik/scrabble-dictionaries/refs/heads/master/english/twl06.txt';
const getWordListGb = async () => {
    return (0, lib_1.getTxtWordList)(EN_GB_FILE_URL, types_1.Locale.EN_GB);
};
exports.getWordListGb = getWordListGb;
const getWordListUs = async () => {
    return (0, lib_1.getTxtWordList)(EN_US_FILE_URL, types_1.Locale.EN_US);
};
exports.getWordListUs = getWordListUs;
