"use strict";
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (C) 2024-2026 Gracker (Chris)
// This file is part of SmartPerfetto. See LICENSE for details.
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.backendDataPath = backendDataPath;
exports.backendLogPath = backendLogPath;
const path_1 = __importDefault(require("path"));
function backendDataPath(...segments) {
    const root = process.env.SMARTPERFETTO_BACKEND_DATA_DIR || path_1.default.resolve(process.cwd(), 'data');
    return path_1.default.join(root, ...segments);
}
function backendLogPath(...segments) {
    const root = process.env.SMARTPERFETTO_BACKEND_LOG_DIR || path_1.default.resolve(process.cwd(), 'logs');
    return path_1.default.join(root, ...segments);
}
//# sourceMappingURL=runtimePaths.js.map