/** * 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 * ---------- */ /** * The BEM block class shared across all PageHeader sub-components. * Components that need a dynamic prefix should call usePrefix() locally. */ export declare const blockClass = "cds--page-header"; export declare const getHeaderOffset: (el: HTMLElement) => number; /** * Walks up the parent nodes to identify the first scrollable ancestor * * @param {HTMLElement} target * @returns {HTMLElement} */ export declare const scrollableAncestor: (target: HTMLElement) => ParentNode | null;