import { PropertyChangedArgs, TypedEvent } from "@node-projects/base-custom-webcomponent";
import { ITool } from '../widgets/designerView/tools/ITool.js';
import { ServiceContainer } from './ServiceContainer.js';
import { IDesignItem } from "../item/IDesignItem.js";
export declare class GlobalContext {
    private _serviceContainer;
    private _tool;
    private _strokeColor;
    private _strokeThickness;
    private _fillBrush;
    constructor(serviceContainer: ServiceContainer);
    set tool(tool: ITool);
    get tool(): ITool;
    readonly onToolChanged: TypedEvent<PropertyChangedArgs<{
        name: string;
        tool: ITool;
    }>>;
    finishedWithTool: (tool: ITool) => void;
    set strokeColor(strokeColor: string);
    get strokeColor(): string;
    readonly onStrokeColorChanged: TypedEvent<PropertyChangedArgs<string>>;
    set strokeThickness(strokeThickness: string);
    get strokeThickness(): string;
    readonly onStrokeThicknessChanged: TypedEvent<PropertyChangedArgs<string>>;
    set fillBrush(fillBrush: string);
    get fillBrush(): string;
    readonly onFillBrushChanged: TypedEvent<PropertyChangedArgs<string>>;
    readonly showConfigClicked: TypedEvent<{
        configUi: Element;
        designItem: IDesignItem;
    }>;
}
