/** * @param timeMs - delay after previous call resolution/rejection. Pass 0 to queue calls with no delay. */ export declare function throttleDecorator(timeMs: number): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; export declare function throttle(fn: any, timeMs: number): (this: any, ...args: any[]) => Promise;