/** * Wraps a synchronous function so that its execution time is logged. * * @param additionalText Optional text to include in the log message. * @returns A higher-order function that wraps the original function. */ export declare function timeExecutionSync any>(additionalText?: string): (func: T) => T; /** * Wraps an asynchronous function so that its execution time is logged. * * @param additionalText Optional text to include in the log message. * @returns A higher-order function that wraps the original async function. */ export declare function timeExecutionAsync Promise>(additionalText?: string): (func: T) => T; /** * A class decorator that turns a class into a singleton. * Only one instance of the decorated class will ever be created. * * @param constructor The target class constructor. * @returns A new constructor that always returns the same instance. */ export declare function singleton(constructor: T): T; //# sourceMappingURL=utils.d.ts.map