import type { Node } from '@wix/ricos/schema';
import type { NodeViewDecorator, ViewerContextualData } from '../../../../ricos-types/index.js';
export declare class Decorators<T> {
    private decorators;
    private textualDecorators;
    private context;
    private static readonly defaultPriority;
    private constructor();
    static sort<T>(a: NodeViewDecorator<T>, b: NodeViewDecorator<T>): -1 | 0 | 1;
    static of<T>(decorators: NodeViewDecorator<T>[], context: ViewerContextualData): Decorators<T>;
    getDecorators(): NodeViewDecorator<T>[];
    merge(decorators: Decorators<T>): Decorators<T>;
    apply(element: T, node: Node, isRoot: boolean): T;
    applyTextual(node: Node): T | undefined;
}
//# sourceMappingURL=node-view-decorators.d.ts.map