import type Table from '../../table'; /** * Mixin for the subclasses of `Table` with implementations of * helper methods that are related to columns. * This mixin is meant to be applied in the subclasses of `Table` * that use virtual rendering in the horizontal axis. * * @type {object} */ declare const calculatedColumns: { /** * Get the source index of the first rendered column. If no columns are rendered, returns an error code: -1. * * @returns {number} * @this Table */ getFirstRenderedColumn(this: Table): number; /** * Get the source index of the first column fully visible in the viewport. If no columns are fully visible, returns an error code: -1. * * @returns {number} * @this Table */ getFirstVisibleColumn(this: Table): number; /** * Get the source index of the first column partially visible in the viewport. If no columns are partially visible, returns an error code: -1. * * @returns {number} * @this Table */ getFirstPartiallyVisibleColumn(this: Table): number; /** * Get the source index of the last rendered column. If no columns are rendered, returns an error code: -1. * * @returns {number} * @this Table */ getLastRenderedColumn(this: Table): number; /** * Get the source index of the last column fully visible in the viewport. If no columns are fully visible, returns an error code: -1. * * @returns {number} * @this Table */ getLastVisibleColumn(this: Table): number; /** * Get the source index of the last column partially visible in the viewport. If no columns are partially visible, returns an error code: -1. * * @returns {number} * @this Table */ getLastPartiallyVisibleColumn(this: Table): number; /** * Get the number of rendered columns. * * @returns {number} * @this Table */ getRenderedColumnsCount(this: Table): number; /** * Get the number of fully visible columns in the viewport. * * @returns {number} * @this Table */ getVisibleColumnsCount(this: Table): number; /** * Get the number of rendered row headers. * * @returns {number} * @this Table */ getRowHeadersCount(this: Table): number; }; export default calculatedColumns;