import { CompleteThemeSettingsInternal, ThemeOid } from '../../types.js';
/**
 * Legacy analog of CompleteThemeSettingsInternal used in Sisense UI.
 */
export type LegacyDesignSettings = {
    oid: ThemeOid;
    dashboards: {
        toolbarBackgroundColor: string;
        toolbarSecondaryTextColor: string;
        toolbarTextColor: string;
        colorPaletteName: string;
        navBackgroundColor: string;
        navTextColor: string;
        navTextHoverColor: string;
        navHoverBackgroundColor: string;
        panelBackgroundColor: string;
        panelTitleTextColor: string;
        widgetTextColor: string;
        widgetSecondaryTextColor: string;
        widgetBackgroundColor: string;
        widgetTitleBackgroundColor: string;
        widgetTitleColor: string;
        widgetTitleAlignment: 'left' | 'center';
        widgetSecondaryTitleColor: string;
        widgetTitleDividerEnabled: boolean;
        widgetTitleDividerColor: string;
        widgetBorderEnabled: boolean;
        widgetBorderColor: string;
        widgetCornerRadius: 'none' | 'small' | 'medium' | 'large';
        widgetShadow: 'none' | 'light' | 'medium' | 'dark';
        widgetSpacing: 'none' | 'small' | 'medium' | 'large';
        layoutBackgroundColor: string;
    };
    typography: {
        customFontSelected: boolean;
        fontFamily: string;
        hyperlinkColor: string;
        hyperlinkHoverColor: string;
        predefinedFont: string;
        primaryTextColor: string;
        secondaryTextColor: string;
    };
    general: {
        brandColor: string;
        primaryButtonHoverColor: string;
        primaryButtonTextColor: string;
        secondaryButtonBaseColor: string;
        secondaryButtonHoverColor: string;
        secondaryButtonTextColor: string;
        backgroundColor: string;
    };
    isDefault: boolean;
    isSystem: boolean;
    lastModified: string;
    created: string;
    name: string;
};
/**
 * Palette object used in legacy (form Sisense UI).
 */
export type LegacyPalette = {
    _id: string;
    colors: string[];
    name: string;
    isDefault: boolean;
    sortOrder: number;
    isSystem: boolean;
};
/**
 * Error object returned by server when palette is not found.
 */
export type LegacyPaletteError = {
    message: string;
    status: 'error';
};
/**
 * Mapping of legacy design properties types to theme setting types
 */
export declare const LEGACY_DESIGN_TYPES: {
    none: string;
    small: string;
    medium: string;
    large: string;
    left: string;
    center: string;
    right: string;
    light: string;
    dark: string;
};
/**
 * Converts legacy (used in Sisense UI) design settings and its palette object to CompleteThemeSettingsInternal.
 *
 * @param legacyDesignSettings - legacy design settings.
 * @param legacyPalette - legacy palette object.
 * @returns
 */
export declare function convertToThemeSettings(legacyDesignSettings: LegacyDesignSettings, legacyPalette: LegacyPalette, domainUrl: string): CompleteThemeSettingsInternal;
export declare function getPaletteName(legacyDesignSettings: LegacyDesignSettings): string;
