import { Mark } from '@tiptap/pm/model';

export declare function styleStringToObject(styles: string, camelCase?: boolean): Record<string, string>;
export declare function styleObjectToString(style: any, removeStyle?: boolean, sort?: boolean): string;
export declare function getCSSUnits(input: string): RegExpMatchArray | null;
/**
 * Converts ProseMirror Mark objects to a CSS style object,
 * so that they can be applied to any element
 * @param marks Array of ProseMirror Mark objects
 * @returns Style object
 */
export declare function marksToStyleObject(marks: readonly Mark[]): any;
export declare const defaultStyle: {
    default: null;
    parseHTML: (element: any) => any;
    renderHTML: (attributes: any) => {
        style: string;
    } | {
        style?: undefined;
    };
};
