import type { PmConverters } from '../pm-converters/collect.js';
import type { Decoration, Decoration_Type, DocumentStyle } from '@wix/ricos/schema';
import type { TextBlockNodeType } from '../ricos-styles/index.js';
import type { AmbientStyles } from '../ricos-types/index.js';
import type { CommandProps, Editor } from '../tiptap/core/index';
import type { Node as ProseMirrorNode } from '../tiptap/pm/model';
import type { EditorState } from '../tiptap/pm/state';
declare module '../tiptap/core/index' {
    interface Commands<ReturnType> {
        styles: {
            /**
             * returns decoration object from selected node according to ricos-styles
             */
            getStylesDecorationBySelectedNode: (decorationType: Decoration_Type) => (props: CommandProps) => Decoration | undefined;
            /**
             * updates the document style
             */
            updateDocumentStyle: (documentStyle: DocumentStyle) => ReturnType;
            /**
             * updates the document style according to the selected node
             */
            updateDocumentStyleBySelectedNode: () => ReturnType;
            /**
             * remove all marks that are defined in the document style (bold, italic, color, font size)
             */
            unsetAllDocumentStyleMarksByNode: (node: ProseMirrorNode) => ReturnType;
            /**
             * remove all attibutes that are defined in the document style (paddingTop,paddingBottom,lineHeight)
             */
            unsetAllDocumentStyleAttrsByNode: (node: ProseMirrorNode, pos: number) => ReturnType;
            /**
             * reset the document style of a given nodeType
             */
            resetDocumentStyleByNodeType: (nodeType: TextBlockNodeType) => ReturnType;
        };
    }
}
export declare const getStylesDecorationBySelectedNode: (decorationType: Decoration_Type, { state, styles, pmConverters, }: {
    state: EditorState;
    styles: AmbientStyles;
    pmConverters: PmConverters;
}) => Decoration | undefined;
export declare const getLineHeightStyleBySelectedNode: ({ tiptapEditor, styles, }: {
    tiptapEditor: Editor;
    styles: AmbientStyles;
}) => string | undefined;
export declare const ricosStyles: import("../ricos-types/tiptap.js").RicosFunctionalExtension<{
    styles: AmbientStyles;
    converters: PmConverters;
}, unknown>;
//# sourceMappingURL=ricos-styles.d.ts.map