import type { BlockConfig } from '@knapsack/types'; import type { JSONContent } from '@knapsack/tiptap-utils'; export type TiptapContentField = { fieldPath: string; content: JSONContent | null | undefined; setContent: (content: JSONContent | null | undefined) => void; }; /** * Every JSONContent-bearing field on a block - the single source of truth * for both detection (reads `content`) and stripping (calls `setContent`), * so a block type gaining a new tiptap field only needs updating here once, * not in two independently-maintained switches that could silently drift. */ export declare function getTiptapContentFields(block: BlockConfig): TiptapContentField[]; //# sourceMappingURL=tiptap-content-fields.d.ts.map