import type { DataAccessObject, DomBindings, WalkontableInstance } from '../types'; import type Settings from '../settings'; import TopInlineStartCornerOverlayTable from '../table/topInlineStartCorner'; import { Overlay } from './_base'; /** * @class TopInlineStartCornerOverlay */ export declare class TopInlineStartCornerOverlay extends Overlay { /** * The instance of the Top overlay. * * @type {TopOverlay} */ topOverlay: Overlay; /** * The instance of the InlineStart overlay. * * @type {InlineStartOverlay} */ inlineStartOverlay: Overlay; /** * @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted. * @param {FacadeGetter} facadeGetter Function which return proper facade. * @param {Settings} wtSettings The Walkontable settings. * @param {DomBindings} domBindings Dom elements bound to the current instance. * @param {TopOverlay} topOverlay The instance of the Top overlay. * @param {InlineStartOverlay} inlineStartOverlay The instance of the InlineStart overlay. */ constructor(wotInstance: WalkontableInstance, facadeGetter: Function, wtSettings: Settings, domBindings: DomBindings, topOverlay: Overlay, inlineStartOverlay: Overlay); /** * Factory method to create a subclass of `Table` that is relevant to this overlay. * * @see Table#constructor * @param {...*} args Parameters that will be forwarded to the `Table` constructor. * @returns {TopInlineStartCornerOverlayTable} */ createTable(...args: [DataAccessObject, Function, DomBindings, Settings]): TopInlineStartCornerOverlayTable; /** * Checks if overlay should be fully rendered. * * @returns {boolean} */ shouldBeRendered(): boolean; /** * Prevents scroll position changes for this overlay. * @param {number} _pos The scroll position to set (ignored). * @returns {boolean} Always returns false. */ setScrollPosition(_pos: number): boolean; /** * Gets the scroll position for this overlay. * @returns {number} Always returns 0. */ getScrollPosition(): number; /** * Gets the parent table offset for this overlay. * @returns {number} Always returns 0. */ getTableParentOffset(): number; /** * Gets the overlay offset for this corner overlay. * @returns {number} Always returns 0. */ getOverlayOffset(): number; /** * Handles scroll events (intentionally empty for corner overlay). */ onScroll(): void; /** * Sums cell sizes within a range. * @param {number} _from The starting cell index (ignored). * @param {number} _to The ending cell index (ignored). * @returns {number} Always returns 0. */ sumCellSizes(_from: number, _to: number): number; /** * Adjusts overlay element sizes (intentionally empty for corner overlay). */ adjustElementsSize(): void; /** * Applies changes to the DOM (intentionally empty for corner overlay). */ applyToDOM(): void; /** * Scrolls the overlay to a specified position. * @param {number} _sourceIndex The source index to scroll to (ignored). * @param {boolean} _snapToEdge Whether to snap to edge (ignored). * @returns {boolean} Always returns false. */ scrollTo(_sourceIndex: number, _snapToEdge: boolean): boolean; /** * Updates the corner overlay position. * * @returns {boolean} */ resetFixedPosition(): boolean; }