1 | import type { Middleware } from 'redux';
|
2 | export declare function getTimeMeasureUtils(maxDelay: number, fnName: string): {
|
3 | measureTime<T>(fn: () => T): T;
|
4 | warnIfExceeded(): void;
|
5 | };
|
6 | /**
|
7 | * @public
|
8 | */
|
9 | export declare class MiddlewareArray<Middlewares extends Middleware<any, any>> extends Array<Middlewares> {
|
10 | constructor(arrayLength?: number);
|
11 | constructor(...items: Middlewares[]);
|
12 | static get [Symbol.species](): any;
|
13 | concat<AdditionalMiddlewares extends ReadonlyArray<Middleware<any, any>>>(items: AdditionalMiddlewares): MiddlewareArray<Middlewares | AdditionalMiddlewares[number]>;
|
14 | concat<AdditionalMiddlewares extends ReadonlyArray<Middleware<any, any>>>(...items: AdditionalMiddlewares): MiddlewareArray<Middlewares | AdditionalMiddlewares[number]>;
|
15 | prepend<AdditionalMiddlewares extends ReadonlyArray<Middleware<any, any>>>(items: AdditionalMiddlewares): MiddlewareArray<AdditionalMiddlewares[number] | Middlewares>;
|
16 | prepend<AdditionalMiddlewares extends ReadonlyArray<Middleware<any, any>>>(...items: AdditionalMiddlewares): MiddlewareArray<AdditionalMiddlewares[number] | Middlewares>;
|
17 | }
|
18 |
|
\ | No newline at end of file |