/// import { IncomingMessage } from "http"; export declare const noWebpackRequire: any; export declare function hashParams(params: Record): number; export declare function removeTrailingSlash(s?: string): string; export declare function getContentPath(content: { path: string; }): string; export declare function getSectionPath(section: { key: string; params: any; }): string; /** * Cookie parser from https://www.npmjs.com/package/cookie */ export declare function parseCookie(str: string): Record; export declare function getApiKey(req?: IncomingMessage): string; export declare function createEventEmitter(): { on(fn: (e: T) => void): void; off(fn: (e: T) => void): void; emit(e: T): void; };