UNPKG

claritykit-svelte

Version:

A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility

28 lines 835 B
import { Mark } from '@tiptap/core'; import type { BlockLinkOptions } from '../types'; declare module '@tiptap/core' { interface Commands<ReturnType> { blockLink: { /** * Set a block link mark */ setBlockLink: (attributes: { blockId: string; linkText?: string; }) => ReturnType; /** * Toggle a block link mark */ toggleBlockLink: (attributes: { blockId: string; linkText?: string; }) => ReturnType; /** * Unset a block link mark */ unsetBlockLink: () => ReturnType; }; } } export declare const BlockLink: Mark<BlockLinkOptions, any>; //# sourceMappingURL=BlockLink.d.ts.map