import { BasePlugin } from '../base'; export declare const PLUGIN_KEY = "manualColumnFreeze"; export declare const PLUGIN_PRIORITY = 110; /** * @plugin ManualColumnFreeze * @class ManualColumnFreeze * * @description * This plugin allows to manually "freeze" and "unfreeze" a column using an entry in the Context Menu or using API. * You can turn it on by setting a {@link Options#manualColumnFreeze} property to `true`. * * @example * ```js * // Enables the plugin * manualColumnFreeze: true, * ``` */ export declare class ManualColumnFreeze extends BasePlugin { #private; /** * Returns the plugin key used to identify this plugin in Handsontable settings. */ static get PLUGIN_KEY(): string; /** * Returns the priority order used to determine the order in which plugins are initialized. */ static get PLUGIN_PRIORITY(): number; /** * Checks if the plugin is enabled in the handsontable settings. This method is executed in {@link Hooks#beforeInit} * hook and if it returns `true` then the {@link ManualColumnFreeze#enablePlugin} method is called. * * @returns {boolean} */ isEnabled(): boolean; /** * Enables the plugin functionality for this Handsontable instance. */ enablePlugin(): void; /** * Disables the plugin functionality for this Handsontable instance. */ disablePlugin(): void; /** * Updates the plugin's state. * * This method is executed when [`updateSettings()`](@/api/core.md#updatesettings) is invoked with any of the following configuration options: * - [`manualColumnFreeze`](@/api/options.md#manualcolumnfreeze) */ updatePlugin(): void; /** * Freezes the specified column (adds it to fixed columns). * * `freezeColumn()` doesn't re-render the table, * so you need to call the `render()` method afterward. * * @param {number} column Visual column index. */ freezeColumn(column: number): void; /** * Unfreezes the given column (remove it from fixed columns and bring to it's previous position). * * @param {number} column Visual column index. */ unfreezeColumn(column: number): void; }