import type { LogLevel } from 'simple-log-methods'; import type { VisualogicContext } from 'visualogic'; import type { IsoDuration } from '../../../domain.objects/IsoDuration'; interface StopOptions { log?: boolean | { threshold?: IsoDuration; level?: LogLevel; }; } /** * .what = a procedure which returns a duration stopwatch * .what.intent = * - start a duration stopwatch for a given reason * - stop it when ready, with optional log ability */ export declare const startDurationStopwatch: (input: { for: string; } & StopOptions, context: VisualogicContext) => { stop: (input?: StopOptions) => { duration: { milliseconds: number; }; }; }; export {};