import type { StoryContext } from './types';
/**
 * Create and start the story server
 */
export declare function createStoryServer(ctx: StoryContext, options: ServerOptions): Promise<StoryServer>;
/**
 * Server options
 */
export declare interface ServerOptions {
  port: number
  open?: boolean
  host?: string | boolean
}
/**
 * Story server instance
 */
export declare interface StoryServer {
  server: ReturnType<typeof Bun.serve>
  url: string
  close: () => Promise<void>
}
