/// import { type ComponentMiddleware } from 'react-chain-of-responsibility'; import { type EmptyObject } from 'type-fest'; export type MiddlewareWithInit, I> = (init: I) => ReturnType | false; export default function templateMiddleware(name: string): { initMiddleware: (middleware: readonly MiddlewareWithInit, Init>[], init?: Init) => readonly ComponentMiddleware[]; Provider: import("react").ComponentType<{ middleware: readonly ComponentMiddleware[]; } & { children?: import("react").ReactNode; } & { init?: undefined; }>; Proxy: import("react").ComponentType<(Request extends undefined ? Props & { fallbackComponent?: import("react").ComponentType; request?: Request; } : Props & { fallbackComponent?: import("react").ComponentType; request: Request; }) & { children?: import("react").ReactNode; }>; types: { init: Init; middleware: ComponentMiddleware; props: Props; request: Request; }; }; //# sourceMappingURL=templateMiddleware.d.ts.map