/** * Decorator to log a warning if the method execution time exceeds a specified threshold. * It uses high-resolution time in Node.js and performance.now() in browsers. * @param threshold - The execution time threshold in milliseconds. Defaults to 100ms. * @param performanceHandler - An optional custom performance handler function that takes * the execution time and method name as parameters. * @returns MethodDecorator */ export declare function WarnPerformanceThreshold(threshold?: number, performanceHandler?: (executionTime: number, methodName: string) => void): (originalMethod: Function, context: { kind: string; name: string | symbol; }) => (this: any, ...args: any[]) => any;