export declare const serviceWorker: () => string; export { } declare module '@tiptap/core' { interface Commands { Element: { setElement: (tag: string, slot?: string) => ReturnType; }; } } declare module '@tiptap/vue-3' { interface Commands { imagePicker: { insertImagePicker: () => ReturnType; }; } } declare module '@tiptap/vue-3' { interface Commands { videoPicker: { insertVideoPicker: () => ReturnType; }; } } declare module '@tiptap/core' { interface Commands { Slot: { /** * Override backspace command */ handleSlotBackspace: () => ReturnType; /** * Move empty trailing block out of slot on double-Enter. */ exitEmptyTextblockFromSlot: () => ReturnType; }; } } declare module '@tiptap/core' { interface Commands { InlineElement: { /** * Toggle a InlineElement */ setInlineElement: (tag: string) => ReturnType; }; } } declare module '@tiptap/core' { interface Commands { SpanStyle: { /** * Wrap selection (or insert empty) with span-style node */ setSpanStyle: (attributes?: SpanStyleAttrs) => ReturnType; /** * Update attributes on current span-style node */ updateSpanStyle: (attributes?: SpanStyleAttrs) => ReturnType; /** * Remove the current span-style node (unwrap content) */ unsetSpanStyle: () => ReturnType; }; } } declare module '@tiptap/core' { interface Commands { Binding: { /** * Insert a binding node */ setBinding: (attrs: BindingAttrs) => ReturnType; /** * Update the current binding node attributes */ updateBinding: (attrs: BindingAttrs) => ReturnType; /** * Remove current binding node */ unsetBinding: () => ReturnType; }; } } declare module '@tiptap/core' { interface Commands { callout: { setCallout: (tag: string, slot?: string) => ReturnType; }; } } declare module '@tiptap/core' { interface Commands { aiTransform: { transformSelection: (mode: string, transformFn: () => Promise) => ReturnType; acceptTransform: () => ReturnType; declineTransform: () => ReturnType; }; } } declare module '@tiptap/core' { interface Commands { completion: { /** * Trigger AI completion manually */ triggerCompletion: () => ReturnType; /** * Accept the current completion */ acceptCompletion: () => ReturnType; /** * Dismiss the current completion */ dismissCompletion: () => ReturnType; }; } interface Storage { aiCompletion: CompletionStorage; } }