import type { LinkPreviewData } from 'ricos-schema'; import type { DeepPartial } from 'utility-types'; declare module '@tiptap/core' { interface Commands { linkPreview: { /** * Set a linkPreview node */ setLinkPreview: (attributes: DeepPartial) => ReturnType; }; } } /** * A regex that matches any string that contains a link */ export declare const urlRegex: RegExp; /** * A regex that matches an url */ export declare const urlRegexExact: RegExp; export declare const tiptapExtensions: (import("ricos-types").RicosNodeExtension | import("ricos-types").RicosFunctionalExtension)[]; //# sourceMappingURL=tiptap.d.ts.map