code: async def available_ssids() -> List[Dict[str, Any]]:
      
      fields = ['ssid', 'signal', 'active', 'security']
      cmd = ['--terse',
             '--fields',
             ','.join(fields),
             'device',
             'wifi',
             'list']
      out, err = await _call(cmd)
      if err:
          raise RuntimeError(err)
      output = _dict_from_terse_tabular(
          fields, out,
          transformers={'signal': lambda s: int(s) if s.isdigit() else None,
                        'active': lambda a: a.lower() == 'yes',
                        'ssid': lambda s: s if s != '--' else None})
  
      return [_add_security_type_to_scan(nw) for nw in output if nw['ssid']]
docs: List the visible (broadcasting SSID) wireless networks.
  
      Returns a list of the SSIDs. They may contain spaces and should be escaped
      if later passed to a shell.