import type child_process from 'child_process'; import type { ProcessSiteOptions } from '../../process/site.js'; import type { ISession } from '../../session/types.js'; type ServerOptions = { serverPort?: number; serverHost?: string; }; export type StartOptions = ProcessSiteOptions & ServerOptions & { buildStatic?: boolean; headless?: boolean; port?: number; template?: string; baseurl?: string; keepHost?: boolean; }; /** * Creates a content server and a websocket that can reload and log messages to the client. */ export declare function startContentServer(session: ISession, opts?: ServerOptions): Promise<{ host: string; port: number; reload: () => void; log: (message: string) => void; stop: () => void; }>; export declare function warnOnHostEnvironmentVariable(session: ISession, opts?: StartOptions): string; export type AppServer = { port: number; process: child_process.ChildProcess; stop: () => void; }; export declare function startServer(session: ISession, opts: StartOptions): Promise; export {}; //# sourceMappingURL=start.d.ts.map