export declare function startMonitorErrorCollection(newOnMonitorErrorCollected: (error: unknown) => void): void; export declare function setDebugMode(newDebugMode: boolean): void; export declare function resetMonitor(): void; export declare function monitored unknown>(_: any, __: string, descriptor: TypedPropertyDescriptor): void; export declare function monitor unknown>(fn: T): T; export declare function callMonitored unknown>(fn: T, context: ThisParameterType, args: Parameters): ReturnType | undefined; export declare function callMonitored unknown>(fn: T): ReturnType | undefined; export declare function monitorError(e: unknown): void; export declare function displayIfDebugEnabled(...args: unknown[]): void;