import webpack from 'webpack'; import WebpackDevServer from 'webpack-dev-server'; interface Options { compilerOptions: webpack.Configuration; serverOptions: WebpackDevServer.Configuration; } /**> * @command server * @aliases s * @description A service for development */ export declare class Server { private options; private server; private compiler; private state; constructor(options: Options); /**> * @command start * @aliases s * @description Start dev server */ startServer(callback?: () => any): this; closeServer(callback?: () => any): this; restartServer(): this; showStatus(): void; } export default function createServer(options: Options): Server; export {}; //# sourceMappingURL=server.d.ts.map