1 |
|
2 | import { EventEmitter } from 'events';
|
3 | import { SnowpackConfig } from '../types';
|
4 | export declare const paintEvent: {
|
5 | BUILD_FILE: string;
|
6 | LOAD_ERROR: string;
|
7 | SERVER_START: string;
|
8 | WORKER_COMPLETE: string;
|
9 | WORKER_MSG: string;
|
10 | WORKER_RESET: string;
|
11 | };
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export declare function getPort(defaultPort: number): Promise<number>;
|
18 | export declare function getServerInfoMessage({ startTimeMs, port, protocol, hostname, remoteIp }: ServerInfo, isBuilding?: boolean): string;
|
19 | interface ServerInfo {
|
20 | port: number;
|
21 | hostname: string;
|
22 | protocol: string;
|
23 | startTimeMs: number;
|
24 | remoteIp?: string;
|
25 | }
|
26 | export declare function paintDashboard(bus: EventEmitter, config: SnowpackConfig): void;
|
27 | export {};
|