import { NodeInterface, Plugin, SchemaBlock, SchemaInterface } from '@aomao/engine'; import type MarkdownIt from 'markdown-it'; import TableComponent from './component'; import { TableOptions, TableValue } from './types'; import './index.css'; declare class Table extends Plugin { static get pluginName(): string; init(): void; onCopy: (event: ClipboardEvent) => boolean; onCut: (event: ClipboardEvent) => boolean; onPaste: (event: ClipboardEvent) => boolean; hotkey(): string | string[]; schema(): Array; pasteSchema: (schema: SchemaInterface) => void; execute(rows?: number, cols?: number): void; pasteEach: (node: NodeInterface) => void; pasteHtml: (root: NodeInterface) => void; parseHtml: (root: NodeInterface, callback?: ((node: NodeInterface, value: TableValue) => NodeInterface) | undefined) => NodeInterface[]; markdownIt: (mardown: MarkdownIt) => void; destroy(): void; } export default Table; export { TableComponent }; export type { TableValue, TableOptions };