The documentation for developers creating prebuilt layouts can be found here: https://siteorigin.com/docs/page-builder/bundling-prebuilt/
It’s relatively straightforward, but the one part you might get lost on is finding the page dump.
Just to clarify, where it says to “view the HTML source of a page builder page you’ve already created,” view the HTML source in the Admin area, not the front-end. I made that mistake. 😛
Search for “Page Builder Data” and you’ll see the PHP array dump commented out.
Ideally, you’ll create a blank page, place your widgets, save the page, right-click and find the page dump, and use that dump as your prebuilt layout structure.
Just a note: If you use a page that has text and other information in the widgets, all that shows up in the array dump.