import type { Editor } from '@tiptap/core'; import { type DocumentTableAlignment } from './work-document-table-geometry'; export interface DocumentTableRowOptions { cantSplit: boolean; repeatHeader: boolean; hidden?: boolean; alignment?: DocumentTableAlignment; } export type DocumentTableRowHeightRule = 'atLeast' | 'exact'; export interface SetDocumentTableRowCommandOptions { restoreFocus?: boolean; } declare module '@tiptap/core' { interface Commands { documentTableRow: { setDocumentTableRowOptions: (options: DocumentTableRowOptions, commandOptions?: SetDocumentTableRowCommandOptions) => ReturnType; }; } } export declare const DocumentTableRow: import("@tiptap/core").Node; export declare function documentTableRowOptions(editor: Editor): DocumentTableRowOptions; export declare function canSetDocumentTableRowRepeatHeader(editor: Editor): boolean; export declare function documentTableRowRepeats(node: { attrs: Record; childCount: number; child(index: number): { type: { name: string; }; }; }): boolean; export declare function documentTableRowCantSplit(node: { attrs: Record; }): boolean; export declare function documentTableRowHeight(attributes: Record): { height: number | null; rule: DocumentTableRowHeightRule | null; }; export declare function normalizeDocumentTableRowHeight(value: unknown): number | null; export declare function normalizeDocumentTableRowHeightRule(value: unknown): DocumentTableRowHeightRule | null;