export type BuildBackendOptions = { /** * Runs once `.graphweaver/backend/index.js` exists but before we build what actually ships. * * Anything that needs the built schema but has to end up inside the shipped bundle goes * here - trusted documents being the reason it exists. The CLI runs those in a separate * process, because importing the built backend boots the app. * * Return true if you wrote files the bundle imports, and we'll rebuild it so `.graphweaver` * matches what ships. Returning nothing skips that second pass. */ onDevBundleReady?: () => Promise; }; export declare const buildBackend: ({ onDevBundleReady }?: BuildBackendOptions) => Promise;