import * as react_jsx_runtime from 'react/jsx-runtime'; /** * BrandColorField — WealthX DS (Molecule) * * Lets an admin either inherit the tenant theme color or pick a specific one, * and shows the resolved color together with the text color that will be * computed against it — so the readability outcome is visible before saving. * * Custom mode uses the same popover `ColorPicker` as the onboarding branding * step and company settings, so brand-color entry looks identical everywhere. * * Pure display component. Persistence is owned by the app layer. */ type BrandColorMode = "theme" | "custom"; /** * The color that a given mode resolves to. `"theme"` always wins back to the * tenant color, so switching to Custom and back never strands a stale value. */ declare function resolveBrandColor(mode: BrandColorMode, themeColor: string, customColor: string): string; interface BrandColorFieldProps { mode: BrandColorMode; onModeChange: (mode: BrandColorMode) => void; /** Tenant brand color from company settings — the value `"theme"` mode resolves to. */ themeColor: string; customColor: string; onCustomColorChange: (color: string) => void; disabled?: boolean; label?: string; description?: string; className?: string; } declare function BrandColorField({ mode, onModeChange, themeColor, customColor, onCustomColorChange, disabled, label, description, className, }: BrandColorFieldProps): react_jsx_runtime.JSX.Element; interface BrandColorPreviewChipProps { color: string; mode?: BrandColorMode; className?: string; } /** * Shows the resolved brand color filled behind sample text tinted with the * contrast color the widget will actually compute — the readability preview. */ declare function BrandColorPreviewChip({ color, mode, className, }: BrandColorPreviewChipProps): react_jsx_runtime.JSX.Element; export { BrandColorField, type BrandColorFieldProps, type BrandColorMode, BrandColorPreviewChip, type BrandColorPreviewChipProps, resolveBrandColor };