/**
 * MeoCord Framework
 * Copyright (C) 2025 Ukasyah Rahmatullah Zada
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 */
/**
 * Finds the package directory for the given module name
 * @param {string} moduleName - The name of the module to find
 * @param {string} baseDir - The starting directory to search from (defaults to process.cwd())
 * @returns {string} - The directory path where the module's package.json is located
 */
export declare const findModulePackageDir: (moduleName: string, baseDir?: string) => string | null;
/**
 * Compiles and validates the MeoCord configuration file.
 * Ensures that `meocord.config.ts` exists, compiles it, and checks
 * the presence of essential configuration properties like `discordToken`.
 *
 * @throws Will exit the process if the `meocord.config.ts` file is missing or
 *         if the `discordToken` property is not found in the configuration.
 */
export declare function compileAndValidateConfig(): Promise<void>;
/**
 * Sets the environment mode for the application.
 * Assigns the provided mode to `process.env.NODE_ENV` if it hasn't been set already.
 *
 * @param {'production' | 'development'} mode - The desired environment mode.
 */
export declare function setEnvironment(mode: 'production' | 'development'): void;
