import { IPerfCase, ICaseResult } from './interfaces'; /** * Predefined mixins for PerfCase */ export type PerfCaseConstructor = new (...args: any[]) => T; /** * Runtime mixin for PerfCase. * Appends `averageRuntime` to summary. */ export declare function Runtime(Base: TBase): { new (...args: any[]): { showRuntime(): /*elided*/ any; showAverageRuntime(): /*elided*/ any; summary: { [key: string]: any; }; path: string[] | null; postEach(callback: (result: ICaseResult) => ICaseResult | void | null, perfCase?: /*elided*/ any | undefined): /*elided*/ any; postAll(callback: (results: ICaseResult[]) => ICaseResult[] | void, perfCase?: /*elided*/ any | undefined): /*elided*/ any; run(parentPath: string[], forked: boolean): Promise; getIndent(): string; type: import("./interfaces").PerfType; options?: import("./interfaces").IPerfOptions; name: string; callback(...args: any[]): void; }; } & TBase; /** * Throughput mixin for PerfCase. * Appends `throughput` to each ICaseResult and `averageThroughput` to summary in MB/s. * Expects the payload as {payloadSize: some_value} in the result.returnValue. */ export declare function Throughput(Base: TBase): { new (...args: any[]): { showThroughput(): /*elided*/ any; showAverageThroughput(): /*elided*/ any; summary: { [key: string]: any; }; path: string[] | null; postEach(callback: (result: ICaseResult) => ICaseResult | void | null, perfCase?: /*elided*/ any | undefined): /*elided*/ any; postAll(callback: (results: ICaseResult[]) => ICaseResult[] | void, perfCase?: /*elided*/ any | undefined): /*elided*/ any; run(parentPath: string[], forked: boolean): Promise; getIndent(): string; type: import("./interfaces").PerfType; options?: import("./interfaces").IPerfOptions; name: string; callback(...args: any[]): void; }; } & TBase;