There’s a description of the required components of a driver at the link below:
Those files would either need to be written by you or copied from a driver someone else has already written. For example , SmartThings has the source code for their stock drivers available here and some additional drivers available here.
There are a number of resources available for developers looking to get started that are linked off the top post of the Edge announcement topic: