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 Decorations {
    private readonly decorations;
    private static readonly empty;
    private constructor();
    static of(decorations: Decoration[]): Decorations;
    static fromCustomStyle(customStyle: CustomTextualStyle): Decorations;
    private static styleToDecoration;
    private static toTextDecoration;
    toDecorationArray(): Decoration[];
    byType(type: Decoration_Type): TextDecoration;
    toCustomStyle(): CustomTextualStyle;
    overrideWith(decorations: Decoration[]): Decorations;
}
//# sourceMappingURL=decorations.d.ts.map