medium.d.ts 324 B

123
  1. import { MiddlewareCallback, SideCarMedium, SideCarMediumOptions, SideMedium } from './types';
  2. export declare function createMedium<T>(defaults?: T, middleware?: MiddlewareCallback<T>): Readonly<SideMedium<T>>;
  3. export declare function createSidecarMedium<T = {}>(options?: SideCarMediumOptions): Readonly<SideCarMedium<T>>;