package theater:simple;

interface environment {
    // Get a specific environment variable
    // Returns None if the variable doesn't exist or access is denied
    get-var: func(name: string) -> option<string>;
    
    // List all accessible environment variables
    // Returns empty list if list_all is not enabled in config
    list-vars: func() -> list<tuple<string, string>>;
    
    // Check if a specific environment variable exists (and is accessible)
    exists: func(name: string) -> bool;
}
