import type { DeepPartial } from 'utility-types';
import type { LinkPreviewData } from '@wix/ricos/schema';
declare module '../../tiptap/core/index' {
    interface Commands<ReturnType> {
        linkPreview: {
            /**
             * Set a linkPreview node
             */
            setLinkPreview: (attributes: DeepPartial<LinkPreviewData>) => ReturnType;
            /**
             * Create link preview
             */
            createLinkPreview: () => ReturnType;
            /**
             * Update Image's loading state
             */
            setLinkPreviewLoading: (isLoading: boolean) => ReturnType;
            /**
             * Update Image's loading state
             */
            setLinkPreviewError: (isError: boolean) => ReturnType;
        };
    }
}
export declare const tiptapExtensions: (import("../../ricos-types/tiptap.js").RicosFunctionalExtension<any, any> | import("../../ricos-types/tiptap.js").RicosNodeExtension<any, any>)[];
//# sourceMappingURL=tiptap.d.ts.map