/**
 * Environment Tool
 *
 * Manage environment variables and .env files securely.
 * Supports reading, setting, and managing environment configurations.
 */
import type { ToolResult } from '../types/index.js';
interface EnvParams {
    action: 'get' | 'set' | 'list' | 'load' | 'save' | 'delete' | 'validate';
    key?: string;
    value?: string;
    file?: string;
    format?: 'json' | 'env' | 'shell';
}
export declare class EnvTool {
    name: string;
    description: string;
    dangerLevel: 'safe' | 'low' | 'medium' | 'high';
    private vfs;
    private sensitivePatterns;
    inputSchema: {
        type: "object";
        properties: {
            action: {
                type: string;
                enum: string[];
                description: string;
            };
            key: {
                type: string;
                description: string;
            };
            value: {
                type: string;
                description: string;
            };
            file: {
                type: string;
                description: string;
            };
            format: {
                type: string;
                enum: string[];
                description: string;
            };
        };
        required: string[];
    };
    /**
     * Execute environment operation
     */
    execute(params: EnvParams): Promise<ToolResult>;
    /**
     * Get environment variable
     */
    private getVar;
    /**
     * Set environment variable
     */
    private setVar;
    /**
     * List environment variables
     */
    private listVars;
    /**
     * Load .env file
     */
    private loadEnvFile;
    /**
     * Save current env to file
     */
    private saveEnvFile;
    /**
     * Delete environment variable
     */
    private deleteVar;
    /**
     * Validate .env file
     */
    private validateEnv;
    /**
     * Check if key contains sensitive data
     */
    private shouldRedact;
    /**
     * Redact sensitive value
     */
    private redact;
}
export declare function getEnvTool(): EnvTool;
export {};
