"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTempFilepath = void 0;
const os_1 = __importDefault(require("os"));
const path_1 = __importDefault(require("path"));
const getHash_1 = require("./getHash");
const OUTPUT_DIRECTORY = path_1.default.resolve(os_1.default.homedir(), '.scrabble-solver');
const getTempFilepath = () => {
    const filename = `${(0, getHash_1.getHash)()}.txt`;
    return path_1.default.join(OUTPUT_DIRECTORY, filename);
};
exports.getTempFilepath = getTempFilepath;
