/**
 * @license
 *
 * Copyright IBM Corp. 2025, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */
/**
 * ----------
 * Utilities
 * ----------
 */
export declare const getHeaderOffset: (el: HTMLElement) => number;
/**
 * Determines if the given target is scrollable
 *
 * @param {HTMLElement} target
 * @returns {boolean}
 */
export declare const scrollable: (target: HTMLElement) => boolean;
/**
 * Recursively looks for the scrollable ancestor
 */
export declare const scrollableAncestorInner: (target: HTMLElement) => any;
/**
 * Walks up the parent nodes to identify the first scrollable ancestor
 *
 * @param {HTMLElement} target
 * @returns {HTMLElement}
 */
export declare const scrollableAncestor: (target: HTMLElement) => any;
/**
 * ----------
 * Overflow Handler Utilities
 * ----------
 * Re-exported from _story-assets/overflowHandler.ts
 * TODO: delete after overflowHandler from carbon/utils gets updated
 */
export { getSize, updateOverflowHandler, createOverflowHandler, type UpdateOverflowHandlerOptions, type OverflowHandlerOptions, type OverflowHandler, } from './_story-assets/overflowHandler';
//# sourceMappingURL=utils.d.ts.map