import type { Component } from '../../../shared-logic/src/Component/types';
import { AnyView } from './View';
export declare type EditorAttributes = {
    component?: AnyView;
};
/**
 * Represents a Editor class.
 */
export declare class Editor {
    private editor;
    /**
     * Constructs a new instance of the Editor class.
     * @param attributes - The attributes of the Editor.
     */
    constructor(attributes?: EditorAttributes);
    /**
     * Sets the view of the Editor.
     */
    setComponent(component: AnyView): void;
    /**
     * Builds a partial Component object.
     * @returns A Component for the Editor.
     */
    build(): Component;
}
