/** * a wrapper which reports how long it took to execute a function, after the function completes * * for example: * ```ts * const doSomethingThatMayTakeAWhile = withDurationReporting( * 'doSomethingThatMayTakeAWhile', * async (someArg: string, anotherArg: number) => { * // your logic here * } * ) * ``` */ export declare const withDurationReporting: Promise>(title: string, logic: T, options?: { reportingThresholdSeconds: number; log: (args: { title: string; durationInSeconds: number; }) => void; }) => T;