type LogFn = (message: string) => void;
type HttpLikeRequest = {
    method?: string;
    originalUrl?: string;
    headers?: unknown;
    params?: unknown;
    query?: unknown;
    body?: unknown;
};
type HttpLikeResponse = {
    statusCode?: number;
    json: (body: unknown) => unknown;
    send: (body: unknown) => unknown;
    on: (eventName: 'finish', listener: () => void) => void;
};
type NextFn = () => void;
export declare function createHttpLoggingMiddleware(loggerName: string, log: LogFn): (req: HttpLikeRequest, res: HttpLikeResponse, next: NextFn) => void;
export {};
