import type { HotInstance } from './core/types';
/**
* Handsontable constructor.
*
* @core
* @class Core
* @description
*
* The `Handsontable` class (known as the `Core`) lets you modify the grid's behavior by using Handsontable's public API methods.
*
* ::: only-for react
* To use these methods, associate a Handsontable instance with your instance
* of the [`HotTable` component](@/guides/getting-started/installation/installation.md#_4-use-the-hottable-component),
* by using React's `ref` feature (read more on the [Instance methods](@/guides/getting-started/react-methods/react-methods.md) page).
* :::
*
* ::: only-for angular
* To use these methods, associate a Handsontable instance with your instance
* of the [`HotTable` component](@/guides/getting-started/installation/installation.md#5-use-the-hottable-component),
* by using `@ViewChild` decorator (read more on the [Instance access](@/guides/getting-started/angular-hot-instance/angular-hot-instance.md) page).
* :::
*
* ## How to call a method
*
* ::: only-for javascript
* ```js
* // create a Handsontable instance
* const hot = new Handsontable(document.getElementById('example'), options);
*
* // call a method
* hot.setDataAtCell(0, 0, 'new value');
* ```
* :::
*
* ::: only-for react
* ```jsx
* import { useRef } from 'react';
*
* const hotTableComponent = useRef(null);
*
*