pub fn agency_consent_from_str(s: &str) -> Result<ConsentState, String>
Parse the wire form of a consent state ("granted" | "withdrawn" | "pending" | "not_required") into [ConsentState]. Used by the Tauri command layer.
"granted" | "withdrawn" | "pending" | "not_required"
ConsentState