/** * Returns a debounced function that delays invoking the provided function until after `timeout` milliseconds have elapsed since the last time it was invoked. The debounced function will always use the last arguments provided to it. * * @param {function} func - The function to debounce. * @param {number} timeout - The number of milliseconds to delay. * @return {function} - The debounced function. */ export declare function debounce(func: (...args: Args) => void, timeout: number): (...args: Args) => void; /** * Returns a throttled version of the given function that will only be executed once within the specified timeout. * * @param {function} func - The function to be throttled. * @param {number} timeout - The timeout in milliseconds. * @return {function} - The throttled function. */ export declare function throttle(func: (...args: Args) => void, timeout: number): (...args: Args) => void; /** * Applies the specified styles to the given HTML element. * * @param {HTMLElement} element - The HTML element to apply styles to * @param {Record} styles - The styles to apply to the element */ export declare function styles(element: HTMLElement, styles: Record): void;