import type Board from '../../Board'; import type Cell from '../../Layout/Cell'; import type { Grid, GridNamespace } from '../../Plugins/GridTypes'; import type { Options } from './GridComponentOptions'; import type { EventTypes as ComponentEventTypes } from '../Component'; import Component from '../Component.js'; import SidebarPopup from '../../EditMode/SidebarPopup'; /** * Grid Component for Highcharts Dashboards. * @private */ declare class GridComponent extends Component { /** * Predefined sync config for the Grid Component. */ static predefinedSyncConfig: import("../Sync/Sync").PredefinedSyncConfig; /** * The namespace of the Grid Component. */ static GridNamespace?: GridNamespace; /** * The default options for the Grid Component. */ static defaultOptions: Partial & import("../../../Shared/Types").DeepPartial; /** * The Grid that is rendered in the Grid Component. */ grid?: Grid; /** * The options of the Grid Component. */ options: Options; constructor(cell: Cell, options: Partial, board?: Board); update(options: Partial, shouldRerender?: boolean): Promise; render(): this; resize(width?: number | string | null, height?: number | string | null): void; onTableChanged(): void; /** * Legacy handler for table changes. */ private onTableChangedLegacy; getEditableOptions(): Options; getOptionsOnDrop(sidebar: SidebarPopup): Partial; /** * Destroys the data grid component. */ destroy(): void; /** * Sets the options for the data grid component content container. */ private setOptions; private finalizeGridRender; private getGridOptionsSnapshot; private getGridOptionsWithConnectorData; private recreateGrid; private getGridDataTable; /** * Function to create the Grid. * * @returns The Grid. */ private constructGrid; } /** @private */ export type ComponentType = GridComponent; /** @private */ export type ChartComponentEvents = ComponentEventTypes; export default GridComponent;