### Summary

Add type hints to `ansible.utils.display::Display`

### Issue Type

Feature Idea

### Component Name

lib/ansible/utils/display.py
type: bool
        vars:
          - name: ansible_sftp_batch_mode
            version_added: '2.7'
      ssh_transfer_method:
        description:
            - "Preferred method to use when transferring files over ssh"
            - Setting to 'smart' (default) will try them in order, until one succeeds or they all fail
            - For OpenSSH >=9.0 you must add an additional option to enable scp (scp_extra_args="-O")
            - Using 'piped' creates an ssh pipe with C(dd) on either side to copy the data
        choices: ['sftp', 'scp', 'piped', 'smart']
        type: string
        env: [{name: ANSIBLE_SSH_TRANSFER_METHOD}]
        ini:
            - {key: transfer_method, section: ssh_connection}
        vars:
            - name: ansible_ssh_transfer_method
              version_added: '2.12'
      scp_if_ssh:
        deprecated:
              why: In favor of the O(ssh_transfer_method) option.
              version: "2.17"
              alternatives: O(ssh_transfer_method)
        default: smart
        description:
          - "Preferred method to use when transferring files over SSH."
          - When set to V(smart), Ansible will try them until one succeeds or they all fail.
          - If set to V(True), it will force 'scp', if V(False) it will use 'sftp'.
          - For OpenSSH >=9.0 you must add an additional option to enable scp (C(scp_extra_args="-O"))
          - This setting will overridden by O(ssh_transfer_method) if set.