pub fn get_config_for_ffi(environment: &Environment) -> Config