/** * Decorator to debounce/throttle functions * @param delay Delay time in ms * @param type Type: Whether to debounce or throttle (Debounce is default) * @constructor */ export declare function ThrottleOrDebounce(delay: number, type?: 'throttle' | 'debounce'): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;