export declare function onChildListMutation(element: HTMLElement, fn: (mutation?: MutationRecord) => void, options?: MutationObserverInit): MutationObserver; export declare function throttle(func: (...args: Args) => void, limit: number, { trailing }?: { trailing?: boolean; }): ((...args: Args) => void) & { flush(): void; cancel(): void; }; export declare function debounce(func: (...args: unknown[]) => void, timeout?: number): (...args: unknown[]) => void;