UNPKG

histoire

Version:

A fast story book powered by Vite

8 lines • 679 B
import type { Connect, ViteDevServer } from 'vite'; /** Resolve internal route against actual Vite base, including middleware hosting. */ export declare function uiHttpPath(server: Pick<ViteDevServer, 'config'>, path: string): string; /** Own reserved UI HTTP paths before the public Vite middleware stack is finalized. */ export declare function installUiHttpRouter(server: ViteDevServer): void; /** Attach one generation-owned feature to the already installed public HTTP boundary. */ export declare function registerUiHttpRoute(server: ViteDevServer, prefix: string, handler: Connect.NextHandleFunction, isActive: () => boolean): () => void; //# sourceMappingURL=http.d.ts.map