/**
 * Environment File Generator
 *
 * Generates minimal .env files containing ONLY secrets (tokens).
 * All configuration is stored in config.json.
 *
 * gh CLI is the recommended authentication method.
 * GITHUB_TOKEN in .env is only needed when gh CLI is not available.
 *
 * @module env-file-generator
 */
/**
 * Environment configuration (secrets only)
 */
export interface EnvConfig {
    githubToken?: string;
}
/**
 * Generate .env file with GitHub token (only when gh CLI not available)
 *
 * @param projectRoot - Project root directory
 * @param config - Environment configuration
 */
export declare function generateEnvFile(projectRoot: string, config: EnvConfig): Promise<void>;
/**
 * Check if .env file exists
 *
 * @param projectRoot - Project root directory
 * @returns True if .env exists
 */
export declare function envFileExists(projectRoot: string): Promise<boolean>;
/**
 * Load GitHub token from .env file
 *
 * @param projectRoot - Project root directory
 * @returns GitHub token or null
 */
export declare function loadEnvConfig(projectRoot: string): Promise<EnvConfig | null>;
//# sourceMappingURL=env-file-generator.d.ts.map