2020-09-22 22:54:48 -04:00
|
|
|
/// <reference types="node" />
|
2020-09-21 01:14:06 -04:00
|
|
|
import { Server } from "http";
|
|
|
|
export declare function getMime(filename: string): string;
|
|
|
|
export declare type Options = {
|
|
|
|
port?: number;
|
|
|
|
redirects?: Record<string, string>;
|
|
|
|
};
|
|
|
|
export declare function start(root: string, options: Options): Server;
|