import type { Decoration } from '@wix/ricos/schema';
import { Decoration_Type } from '@wix/ricos/schema';
import type { CustomTextualStyle } from '../../ricos-types/index.js';
import type { TextDecoration } from '../models/decoration.js';
export declare class FontSizeDecoration implements TextDecoration {
    type: Decoration_Type;
    private readonly customStyle;
    private constructor();
    static of(decoration: Decoration): FontSizeDecoration;
    getDecoration(): Decoration;
    static fromCustomStyle(customStyle: CustomTextualStyle): TextDecoration;
    fromCustomStyle(customStyle: CustomTextualStyle): TextDecoration;
    toCustomStyle(): CustomTextualStyle;
    overrideWith(decoration: TextDecoration): TextDecoration;
}
//# sourceMappingURL=font-size-decoration.d.ts.map