/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * Returns the scroll position at which `container` shows `element` at its top, with the element's `scroll-margin-top` * kept above it. It is the place `element.scrollIntoView( { block: 'start' } )` would bring the element to, without * scrolling the ancestors of the container or the viewport. * * The theme sets the margin, so every element of a list lands in the same place. When the margin equals the padding * above the first element, the first element is already in place and the container does not have to scroll. */ export declare function getScrollTopToElement(container: HTMLElement, element: HTMLElement): number;