export type RestFunc = (...args: T[]) => void; export declare function throttle(func: T, time?: number, immediate?: boolean): (this: unknown, ...args: Parameters) => void; export declare function RAFThrottle(func: T): (this: unknown, ...args: Parameters) => void; export declare const BSStartIndex: (arr: number[], num: number) => number;