/**
 * Type guard to check if a value is a valid environment variables object
 */
export function isValidEnvironmentVars(env) {
    if (typeof env !== "object" || env === null) {
        return false;
    }
    // Check if all keys and values are strings
    for (const [key, value] of Object.entries(env)) {
        if (typeof key !== "string" || typeof value !== "string") {
            return false;
        }
    }
    return true;
}
