import type { IOperator } from "../types"; interface ThrottleConfig { leading: boolean; trailing: boolean; } export default function throttle(time: number, config?: ThrottleConfig): IOperator;