/**
 * Logging Middleware
 *
 * Request/response logging for the API server.
 */
import type { Request, Response, NextFunction } from 'express';
import type { ServerConfig } from '../types.js';
/**
 * Create logging middleware
 */
export declare function createLoggingMiddleware(config: ServerConfig): (req: Request, res: Response, next: NextFunction) => void;
/**
 * Get request statistics
 */
export declare function getRequestStats(): {
    total: number;
    errors: number;
    averageLatency: number;
    uptime: number;
    byEndpoint: Record<string, number>;
    byStatus: Record<string, number>;
};
/**
 * Reset request statistics
 */
export declare function resetRequestStats(): void;
/**
 * JSON logging format (for production)
 */
export declare function createJsonLoggingMiddleware(config: ServerConfig): (req: Request, res: Response, next: NextFunction) => void;
