import { Component, Configurable, Disposable, Event, UI, UIElement } from "../../base-types"; import { Button, ColorInput, FloatingWindow, RangeInput, SimpleUIComponent, TextInput } from "../../ui"; import { Components } from "../../core"; export interface ClipStyleCardData { name: string; fillColor: string; lineColor: string; lineThickness: number; categories: string; } export interface FragmentClipStylerConfig { force: boolean; } export declare class FragmentClipStyler extends Component implements UI, Disposable, Configurable { static readonly uuid: "14de9fbd-2151-4c01-8e07-22a2667e1126"; readonly onChange: Event; /** {@link Disposable.onDisposed} */ readonly onDisposed: Event; /** {@link Configurable.isSetup} */ isSetup: boolean; enabled: boolean; localStorageID: string; styleCards: { [id: string]: { styleCard: SimpleUIComponent; name: TextInput; lineThickness: RangeInput; categories: TextInput; deleteButton: Button; lineColor: ColorInput; fillColor: ColorInput; }; }; uiElement: UIElement<{ mainButton: Button; mainWindow: FloatingWindow; }>; private _defaultStyles; constructor(components: Components); config: FragmentClipStylerConfig; readonly onSetup: Event; setup(config?: Partial): Promise; get(): ClipStyleCardData[]; dispose(): Promise; update(ids?: string[]): Promise; loadCachedStyles(): Promise; private setupUI; private cacheStyles; private deleteStyleCard; private createStyleCard; }