import type { WinterSpecConfig } from "../config/config.js"; import { StartHeadlessDevServerOptions } from "./headless/start-server.js"; export type StartDevServerOptions = { rootDirectory?: string; config?: WinterSpecConfig; port?: number; } & Pick; /** * Start an WinterSpec dev server. It will continuously watch your code and rebuild on changes. (This is the same function called by `winterspec dev`.) * * This must be run within a native context (Node.js, Bun, or Deno). */ export declare const startDevServer: (options: StartDevServerOptions) => Promise<{ port: string; stop: () => Promise; }>;