import { AcCmColor } from '@mlightcad/data-model'; import type { AcUiI18n } from '../i18n'; /** * Modal ACI color picker dialog for layer color selection. * * Presents standard AutoCAD Color Index palettes plus numeric or hex input. */ export declare class AcUiColorPicker { private i18n; /** Full-screen backdrop containing the dialog. */ private backdrop; /** Shared ACI index picker mounted in the dialog body. */ private picker; /** Promise resolver set by {@link open}. */ private resolve?; /** * Builds the dialog DOM and appends it to the theme host. * * @param i18n - i18n helper for dialog labels. * @param themeHost - Viewer host so `--ml-ui-*` CSS variables are inherited. * @param initialColor - Optional initial selection. */ constructor(i18n: AcUiI18n, themeHost: HTMLElement, initialColor?: AcCmColor); /** * Returns a promise resolved when the user confirms or cancels the dialog. * * @returns Selected color, or `null` on cancel or backdrop click. */ open(): Promise; /** * Removes the dialog and resolves the {@link open} promise. * * @param color - Selected color, or `null` when dismissed. */ private finish; /** * Extracts an ACI index from an initial color, when applicable. * * @param color - Optional initial color. */ private toColorIndex; /** * Builds the confirmed {@link AcCmColor} from the current selection. */ private toSelectedColor; } //# sourceMappingURL=AcUiColorPicker.d.ts.map