import type { AnyAsyncFunctionReturning, AnyFunctionReturning } from "../core.js"; /** * Executes the given function and measures how long the execution takes. * @param context - The function of which the execution speed should be measured. * @returns A tuple with the result of the function, and the execution time in milliseconds. */ export declare const measure: (context: AnyFunctionReturning) => [TReturn, number]; /** * Executes the given async function and measures how long the execution takes. * @param context - The async function of which the execution speed should be measured. * @returns A tuple with the result of the function, and the execution time in milliseconds. */ export declare const measureAsync: (context: AnyAsyncFunctionReturning) => Promise<[TReturn, number]>;