import { Card, CardOptions, CardToolbarItemOptions, CardType, NodeInterface, RangeInterface, Scrollbar, SelectStyleType, ToolbarItemOptions } from '@aomao/engine'; import { ControllBarInterface, HelperInterface, TableCommandInterface, TableInterface, TableOptions, TableSelectionInterface, TableValue, TemplateInterface } from '../types'; import Helper from './helper'; import Template from './template'; import { ColorTool } from './toolbar'; declare class TableComponent extends Card implements TableInterface { #private; readonly contenteditable: string[]; static get cardName(): string; static get cardType(): CardType; static get selectStyleType(): SelectStyleType; static get autoSelected(): boolean; static get lazyRender(): boolean; static colors: { color: string; border: string; }[][]; colMinWidth: number; rowMinHeight: number; maxInsertNum: number; wrapper?: NodeInterface; helper: HelperInterface; template: TemplateInterface; selection: TableSelectionInterface; conltrollBar: ControllBarInterface; command: TableCommandInterface; scrollbar?: Scrollbar; viewport?: NodeInterface; colorTool?: ColorTool; noBorderToolButton?: NodeInterface; alignToolButton?: NodeInterface; enableScroll: boolean; constructor(options: CardOptions); init(): void; getOptions: () => TableOptions | undefined; doChange: () => void; toolbar(): (ToolbarItemOptions | CardToolbarItemOptions)[]; onSelectLeft(event: KeyboardEvent): false | undefined; onSelectRight(event: KeyboardEvent): false | undefined; onSelectUp(event: KeyboardEvent): false | undefined; onSelectDown(event: KeyboardEvent): false | undefined; updateAlign(event: MouseEvent, align?: 'top' | 'middle' | 'bottom'): void; updateAlignText(align?: 'top' | 'middle' | 'bottom'): void; getValue(): V; drawBackground?(node: NodeInterface, range: RangeInterface): DOMRect | void | false | RangeInterface[]; activate(activated: boolean): void; handleChange: (trigger?: 'remote' | 'local') => void; onChange: (trigger?: 'remote' | 'local') => void; maximize(): void; minimize(): void; getSelectionNodes(): NodeInterface[]; overflow(max: number): void; updateScrollbar: () => void; initScrollbar(): void; didRender(): void; private remoteRefreshTimeout; remoteRefresh(): void; render(): NodeInterface | "Error value" | undefined; destroy(): void; } export default TableComponent; export { Template, Helper };