/** * @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 */ /** * @module ai/aicore/ui/aiscrollfillerview */ import { View } from "@ckeditor/ckeditor5-ui"; import { type Locale } from "@ckeditor/ckeditor5-utils"; /** * The empty space inserted into scrollable containers that allows for * scrolling the last element within the container to the top of the container. */ export declare class AIScrollFillerView extends View { /** * The current height (in pixels) of the filler. * * @observable */ space: number; /** * Sets the space to exactly what the element needs to scroll to `targetScrollTop`, adding or taking away space * below its content. * * The space never gets smaller than the current scroll position needs, so taking it away does not make the element * jump. Without `targetScrollTop`, the last one is used again, which lets the space follow the content as it changes. * Use {@link #reset} to take the space away completely. * * @param targetScrollTop The scroll position the element has to be able to reach. Defaults to the last one given. */ adjustSpace(targetScrollTop?: number): void; /** * Takes the space away. */ reset(): void; constructor(locale: Locale); }