import { Node } from '@tiptap/core'; /** * Bounded Word repeating-section content controls. * * Admits a body-level `w15:repeatingSection` wrapping one or more * `w15:repeatingSectionItem` children whose bodies are a single plain * paragraph of runs. Add/remove-item UI, data binding, nested repeating * sections, multi-paragraph items, and nested form controls remain * fail-closed. */ export interface WorkDocumentRepeatingSectionProperties { id: string; nativeId: number | null; alias: string; tag: string; lock: WorkDocumentRepeatingSectionLock; appearance: WorkDocumentRepeatingSectionAppearance; color: string | null; } export interface WorkDocumentRepeatingSectionItemProperties { id: string; nativeId: number | null; } export type WorkDocumentRepeatingSectionLock = 'contentLocked' | 'sdtContentLocked' | 'sdtLocked' | 'unlocked'; export type WorkDocumentRepeatingSectionAppearance = 'boundingBox' | 'hidden' | 'tags'; export declare const DOCUMENT_REPEATING_SECTION_DEFAULTS: WorkDocumentRepeatingSectionProperties; declare module '@tiptap/core' { interface Commands { documentRepeatingSection: { insertDocumentRepeatingSection: (text?: string, options?: Partial) => ReturnType; setDocumentRepeatingSectionProperties: (value: Partial) => ReturnType; deleteDocumentRepeatingSection: () => ReturnType; }; } } export declare const DocumentRepeatingSectionItem: Node; export declare const DocumentRepeatingSection: Node; export declare function normalizeRepeatingSectionProperties(value: Partial | null | undefined): WorkDocumentRepeatingSectionProperties; export declare function normalizeRepeatingSectionItemProperties(value: Partial | null | undefined): WorkDocumentRepeatingSectionItemProperties; export declare function repeatingSectionDomAttributes(properties: WorkDocumentRepeatingSectionProperties): Record; export declare function repeatingSectionItemDomAttributes(properties: WorkDocumentRepeatingSectionItemProperties): Record; export declare function repeatingSectionPropertiesFromElement(element: HTMLElement): WorkDocumentRepeatingSectionProperties; export declare function repeatingSectionItemPropertiesFromElement(element: HTMLElement): WorkDocumentRepeatingSectionItemProperties;