import { IDisposable } from "../../../../../base/common/lifecycle.js";
import { IThemeService } from "../../../../../platform/theme/common/themeService.service.js";
import { ICodeEditor } from "../../../../browser/editorBrowser.js";
import { LanguageFeatureRegistry } from "../../../../common/languageFeatureRegistry.js";
import { DocumentColorProvider, IColorInformation } from "../../../../common/languages.js";
import { IEditorHoverRenderContext } from "../../../hover/browser/hoverTypes.js";
import { ColorPickerModel } from "../colorPickerModel.js";
import { BaseColor } from "../colorPickerParticipantUtils.js";
import { ColorPickerWidget } from "../colorPickerWidget.js";
import { Range } from "../../../../common/core/range.js";
export declare class StandaloneColorPickerHover implements BaseColor {
    readonly owner: StandaloneColorPickerParticipant;
    readonly range: Range;
    readonly model: ColorPickerModel;
    readonly provider: DocumentColorProvider;
    constructor(owner: StandaloneColorPickerParticipant, range: Range, model: ColorPickerModel, provider: DocumentColorProvider);
    static fromBaseColor(owner: StandaloneColorPickerParticipant, color: BaseColor): StandaloneColorPickerHover;
}
export declare class StandaloneColorPickerParticipant {
    private readonly _editor;
    private readonly _themeService;
    readonly hoverOrdinal: number;
    private _color;
    constructor(_editor: ICodeEditor, _themeService: IThemeService);
    createColorHover(defaultColorInfo: IColorInformation, defaultColorProvider: DocumentColorProvider, colorProviderRegistry: LanguageFeatureRegistry<DocumentColorProvider>): Promise<{
        colorHover: StandaloneColorPickerHover;
        foundInEditor: boolean;
    } | null>;
    updateEditorModel(colorHoverData: StandaloneColorPickerHover): Promise<void>;
    renderHoverParts(context: IEditorHoverRenderContext, hoverParts: StandaloneColorPickerHover[]): {
        disposables: IDisposable;
        hoverPart: StandaloneColorPickerHover;
        colorPicker: ColorPickerWidget;
    } | undefined;
}
