/**
 * Environment File Discovery Utility
 *
 * This module provides functionality to discover .env files in multiple
 * locations to improve user experience, especially for non-developer users.
 * It searches for .env files in the following order:
 * 1. Current working directory
 * 2. User's home directory
 * 3. User's config directory (~/.config/legal-markdown-js/)
 */
/**
 * Discovers and loads .env file from multiple possible locations
 *
 * @returns The path of the loaded .env file or null if none found
 */
export declare function discoverAndLoadEnv(): string | null;
/**
 * Gets all potential .env file locations for informational purposes
 *
 * @returns Array of potential .env file paths
 */
export declare function getEnvSearchPaths(): string[];
/**
 * Creates the config directory if it doesn't exist
 *
 * @returns The path to the config directory
 */
export declare function ensureConfigDirectory(): string;
/**
 * Creates a sample .env file in the user's config directory
 *
 * @returns The path where the sample was created or null if failed
 */
export declare function createSampleEnvFile(): string | null;
//# sourceMappingURL=env-discovery.d.ts.map