A woman has been arrested following an alleged assault on a police officer in the Ribble Valley, prompting an investigation by Lancashire Police.