Files
NapCatQQ/.pnpm-store/v3/files/76/a5978e95baa4cb09cae0943878b444f616058142e48a3c3c15c4f77ac6c5891090b14871abfd851e044d4f01fe7e59e44a9026b6314896eaa4c7539a65c230
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

46 lines
1.4 KiB
Plaintext

import type { LinkedList } from 'parchment';
import Block from '../blots/block.js';
import Container from '../blots/container.js';
declare class TableCell extends Block {
static blotName: string;
static tagName: string;
static create(value: string): HTMLElement;
static formats(domNode: HTMLElement): string | null | undefined;
next: this | null;
cellOffset(): number;
format(name: string, value: string): void;
row(): TableRow;
rowOffset(): number;
table(): import("parchment").Parent;
}
declare class TableRow extends Container {
static blotName: string;
static tagName: string;
children: LinkedList<TableCell>;
next: this | null;
checkMerge(): boolean;
optimize(context: {
[key: string]: any;
}): void;
rowOffset(): number;
table(): import("parchment").Parent;
}
declare class TableBody extends Container {
static blotName: string;
static tagName: string;
children: LinkedList<TableRow>;
}
declare class TableContainer extends Container {
static blotName: string;
static tagName: string;
children: LinkedList<TableBody>;
balanceCells(): void;
cells(column: number): any[];
deleteColumn(index: number): void;
insertColumn(index: number): void;
insertRow(index: number): void;
rows(): any[];
}
declare function tableId(): string;
export { TableCell, TableRow, TableBody, TableContainer, tableId };