import type { JSONContent } from '@tiptap/core'; import type { DraftContent } from 'ricos-content'; import type { Decoration, Node, RichContent } from 'ricos-schema'; export declare const isTextNode: (object: any) => boolean; export declare const isHeadingNode: (object: any) => boolean; export declare const isParagraphNode: (object: any) => boolean; export declare const isNode: (object: any) => object is Node; export declare const isDecoration: (object: any) => object is Decoration; export declare const isRichContent: (object: any) => object is RichContent; export declare const isTiptapContent: (object: any) => object is JSONContent; export declare const getImageNode: ({ content, nodes, }: T) => T extends RichContent ? Node : T extends JSONContent ? JSONContent : undefined; export declare const getImageBlockData: (content: DraftContent) => any; export declare const isDataFieldName: (fieldName: string | number | symbol, value: any) => any; export declare const toDataFieldName: (type: string) => string; export declare const DATA_FIELDS_MAP: {}; //# sourceMappingURL=utils.d.ts.map