San Francisco's mayor said the city would declare a local public health emergency over the monkeypox virus as New York's health leader declared it an "imminent threat."