export interface BackendStartOptions { host?: string /** Host to listen on e.g. 0.0.0.0 */; port: number /** Port to listen on, default is 9001 */; } export type BackendStartHooks = { /** * Runs once `.graphweaver/backend/index.js` exists but before we boot from it, for anything * that needs the built schema and has to end up inside the bundle. See `buildBackend`. */ onDevBundleReady?: () => Promise; }; export declare const startBackend: ({ host, port }: BackendStartOptions, { onDevBundleReady }?: BackendStartHooks) => Promise;