We don't send opt-in when importing.
If you need to have them opt-in again, import them as they are and send them a campaign to stay in your list, include a link in your email which when clicked transforms a custom field in a certain value and then filter by that value to see subscribers that want to remain in your lists, using segments.