import { DecoratedInstance } from '../lib/interfaces/decoratedInstance'; import { LogFunction } from '../lib/types/logFunction'; import { Color } from '../lib/types/color'; export interface IMiddlewareConfigProperty { order?: number; show?: boolean; color?: Color; } export interface IConfig { method: IMiddlewareConfigProperty; ip: IMiddlewareConfigProperty; path: IMiddlewareConfigProperty; body: IMiddlewareConfigProperty; header: IMiddlewareConfigProperty; } interface IExpressRequest { ip: string; path: string; body: string; method: string; headers: object; } export declare const expressMiddleware: (hostObjOrLogFunction: DecoratedInstance | LogFunction, config?: Partial) => (req: IExpressRequest, res: unknown, next: (...args: unknown[]) => unknown) => void; export {};