2020-09-23 05:54:48 +03:00
|
|
|
/// <reference types="node" />
|
2020-09-21 08:14:06 +03: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;
|