type WidgetType = "heatmap" | "currency-converter" | "margin-calculator" | "fibonacci" | "pivots" | "stop-loss-take-profit-levels" | "stop-loss-take-profit" | "economic-calendar" | "signals" | "glossary" | "news" | "top-movers" | "price-chart" | "analyst-recommendations" | "asset-overview" | "asset-preview" | "live-updates" | "video-explainer"; type WidgetKey = "currencyConverter" | "fibonacci" | "heatmap" | "marginCalculator" | "pivots" | "stopLossTakeProfit" | "stopLossTakeProfitLevels" | "signals" | "economicCalendar" | "glossary" | "news" | "topMovers" | "priceChart" | "analystRecommendations" | "assetOverview" | "assetPreview" | "liveUpdates" | "videoExplainer"; type WidgetComboType = "signals-news-dyntube"; type WidgetComboKey = "signalsNewsDyntube"; type CtaPosition = "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | null | "none"; type Positions = Record | WidgetComboKey, CtaPosition> & Partial>; type BaseStyle = { id?: number; user_id: number | null; style_name: string; brand_id: number; brand_name: string; lang: string; created_at?: string; font_family: string; font_weight_heading: string; font_weight_body: string; currency_logos_rounded: boolean; main_background: string; main_rounded: string; main_border: string; main_shadow: string; main_text_color: string; main_font_size: string; cta_button_position: Positions; cta_button_label: string | null; cta_button_link: string | null; cta_button_roundness: string | null; cta_button_background: string | null; cta_button_text: string | null; base_background: string; base_rounded: string; base_border: string; base_shadow: string; base_text_color: string; base_font_size: string; }; type StyleOverrides = { input_background: string | null; input_rounded: string | null; input_border: string | null; input_shadow: string | null; input_text_color: string | null; input_font_size: string | null; button_background: string | null; button_rounded: string | null; button_border: string | null; button_shadow: string | null; button_text_color: string | null; button_font_size: string | null; dropdown_background: string | null; dropdown_rounded: string | null; dropdown_border: string | null; dropdown_shadow: string | null; dropdown_text_color: string | null; dropdown_font_size: string | null; results_background: string | null; results_rounded: string | null; results_border: string | null; results_shadow: string | null; results_text_color: string | null; results_font_size: string | null; results_secondary_font_size: string | null; results_separator_color: string | null; table_striped: boolean | null; table_rounded: string | null; table_shadow: string | null; table_border: string | null; table_row_separator: string | null; table_column_separator: string | null; table_head_background: string | null; table_head_text_color: string | null; table_head_font_size: string | null; table_body_background: string | null; table_body_text_color: string | null; table_body_font_size: string | null; heatmap_logo_background: string | null; heatmap_custom_logo: string | null; date_background: string | null; date_text: string | null; date_border: string | null; date_roundness: string | null; date_font_size: string | null; date_shadow: string | null; date_selected_background: string | null; date_selected_text: string | null; econ_impact_low_bg: string | null; econ_impact_low_txt: string | null; econ_impact_med_bg: string | null; econ_impact_med_txt: string | null; econ_impact_high_bg: string | null; econ_impact_high_txt: string | null; signals_sup_res_background: string | null; signals_chart_on_bottom: boolean | null; signals_single_asset: boolean | null; signals_column_mode: boolean | null; signals_hclo_color: string | null; econ_coming_soon_color: string | null; glossary_titles_color: string | null; glossary_defs_color: string | null; news_scroll_mode: "virtual" | "pagination" | null; news_version?: "v1" | "v2" | "v3" | "v4" | null; news_version_staged?: "v1" | "v2" | "v3" | "v4" | null; video_news_version?: "v1" | "v2" | null; video_news_version_staged?: "v1" | "v2" | null; video_news_background_mode?: "solid" | "gradient" | null; video_news_background_color?: string | null; video_news_gradient_to?: string | null; video_news_gradient_angle?: string | null; video_news_text_color?: string | null; video_news_muted_text_color?: string | null; video_news_accent_color?: string | null; video_news_rounded?: string | null; video_news_max_width?: string | null; video_news_heading_font?: string | null; video_news_body_font?: string | null; video_news_show_logo?: boolean | null; video_news_logo_url?: string | null; video_news_eyebrow?: string | null; video_news_title?: string | null; video_news_use_clickbait?: boolean | null; video_news_description?: string | null; video_news_cta_label?: string | null; video_news_cta_url?: string | null; video_news_cta_new_tab?: boolean | null; video_news_show_share?: boolean | null; video_news_share_label?: string | null; news_v2_layout_mode?: "featured" | "grid" | null; news_v2_share_buttons?: boolean | null; news_v2_show_reading_time?: boolean | null; news_v2_show_date?: boolean | null; news_v2_show_categories?: boolean | null; news_v2_featured_show_chart?: boolean | null; news_v2_card_background?: string | null; news_v2_card_border?: string | null; news_v2_card_shadow?: string | null; news_v2_card_rounded?: string | null; news_v2_headline_color?: string | null; news_v2_headline_font_size?: string | null; news_v2_excerpt_color?: string | null; news_v2_meta_color?: string | null; news_v2_tab_background?: string | null; news_v2_tab_active_background?: string | null; news_v2_tab_text_color?: string | null; news_v2_tab_active_text_color?: string | null; news_v2_category_color_forex?: string | null; news_v2_category_color_stock?: string | null; news_v2_category_color_crypto?: string | null; news_v2_category_color_cmd?: string | null; news_v2_category_color_worldec?: string | null; news_v2_category_color_regec?: string | null; news_v2_chart_theme?: "light" | "dark" | "auto" | null; news_v2_font_family?: string | null; news_v3_promo_enabled?: boolean | null; news_v3_promo_media_url?: string | null; news_v3_promo_cta_url?: string | null; news_v4_key_takeaways_background?: string | null; news_v4_key_takeaways_rounded?: string | null; news_v4_key_takeaways_border?: string | null; news_v4_key_takeaways_bullet_color?: string | null; news_v4_key_takeaways_glow?: boolean | null; analyst_recommendations_text_color?: string | null; analyst_recommendations_secondary_text_color?: string | null; analyst_recommendations_padding?: string | null; analyst_recommendations_buy_color?: string | null; analyst_recommendations_neutral_color?: string | null; analyst_recommendations_sell_color?: string | null; analyst_recommendations_track_color?: string | null; analyst_recommendations_needle_color?: string | null; analyst_recommendations_show_asset?: boolean | null; analyst_recommendations_strong_sell_bar_color?: string | null; analyst_recommendations_strong_sell_text_color?: string | null; analyst_recommendations_moderate_sell_bar_color?: string | null; analyst_recommendations_moderate_sell_text_color?: string | null; analyst_recommendations_hold_bar_color?: string | null; analyst_recommendations_hold_text_color?: string | null; analyst_recommendations_moderate_buy_bar_color?: string | null; analyst_recommendations_moderate_buy_text_color?: string | null; analyst_recommendations_strong_buy_bar_color?: string | null; analyst_recommendations_strong_buy_text_color?: string | null; analyst_recommendations_mode?: "vertical" | "horizontal" | null; live_updates_dot_fresh_color?: string | null; live_updates_dot_seen_color?: string | null; live_updates_version?: "v1" | "v2" | null; video_explainer_card_background?: string | null; video_explainer_rail_background?: string | null; video_explainer_tab_background?: string | null; video_explainer_text_color?: string | null; video_explainer_muted_text_color?: string | null; video_explainer_border_color?: string | null; video_explainer_accent?: string | null; video_explainer_accent_soft?: string | null; video_explainer_up_color?: string | null; video_explainer_down_color?: string | null; video_explainer_rounded?: string | null; video_explainer_heading_font?: string | null; video_explainer_body_font?: string | null; video_explainer_max_width?: string | null; }; type WidgetStyle = BaseStyle & StyleOverrides; declare const WIDGET_STYLE_SCHEMA_VERSION: 1; declare const IDENTITY_FIELDS: readonly ["id", "user_id", "style_name", "brand_id", "brand_name", "lang", "created_at"]; declare const ROUTING_FIELDS: readonly ["news_version", "news_version_staged"]; declare const PAYLOAD_FIELDS: readonly ["font_family", "font_weight_heading", "font_weight_body", "currency_logos_rounded", "main_background", "main_rounded", "main_border", "main_shadow", "main_text_color", "main_font_size", "cta_button_position", "cta_button_label", "cta_button_link", "cta_button_roundness", "cta_button_background", "cta_button_text", "base_background", "base_rounded", "base_border", "base_shadow", "base_text_color", "base_font_size", "input_background", "input_rounded", "input_border", "input_shadow", "input_text_color", "input_font_size", "button_background", "button_rounded", "button_border", "button_shadow", "button_text_color", "button_font_size", "dropdown_background", "dropdown_rounded", "dropdown_border", "dropdown_shadow", "dropdown_text_color", "dropdown_font_size", "results_background", "results_rounded", "results_border", "results_shadow", "results_text_color", "results_font_size", "results_secondary_font_size", "results_separator_color", "table_striped", "table_rounded", "table_shadow", "table_border", "table_row_separator", "table_column_separator", "table_head_background", "table_head_text_color", "table_head_font_size", "table_body_background", "table_body_text_color", "table_body_font_size", "heatmap_logo_background", "heatmap_custom_logo", "date_background", "date_text", "date_border", "date_roundness", "date_font_size", "date_shadow", "date_selected_background", "date_selected_text", "econ_impact_low_bg", "econ_impact_low_txt", "econ_impact_med_bg", "econ_impact_med_txt", "econ_impact_high_bg", "econ_impact_high_txt", "signals_sup_res_background", "signals_chart_on_bottom", "signals_single_asset", "signals_column_mode", "signals_hclo_color", "econ_coming_soon_color", "glossary_titles_color", "glossary_defs_color", "news_scroll_mode", "video_news_version", "video_news_version_staged", "video_news_background_mode", "video_news_background_color", "video_news_gradient_to", "video_news_gradient_angle", "video_news_text_color", "video_news_muted_text_color", "video_news_accent_color", "video_news_rounded", "video_news_max_width", "video_news_heading_font", "video_news_body_font", "video_news_show_logo", "video_news_logo_url", "video_news_eyebrow", "video_news_title", "video_news_use_clickbait", "video_news_description", "video_news_cta_label", "video_news_cta_url", "video_news_cta_new_tab", "video_news_show_share", "video_news_share_label", "news_v2_layout_mode", "news_v2_share_buttons", "news_v2_show_reading_time", "news_v2_show_date", "news_v2_show_categories", "news_v2_featured_show_chart", "news_v2_card_background", "news_v2_card_border", "news_v2_card_shadow", "news_v2_card_rounded", "news_v2_headline_color", "news_v2_headline_font_size", "news_v2_excerpt_color", "news_v2_meta_color", "news_v2_tab_background", "news_v2_tab_active_background", "news_v2_tab_text_color", "news_v2_tab_active_text_color", "news_v2_category_color_forex", "news_v2_category_color_stock", "news_v2_category_color_crypto", "news_v2_category_color_cmd", "news_v2_category_color_worldec", "news_v2_category_color_regec", "news_v2_chart_theme", "news_v2_font_family", "news_v3_promo_enabled", "news_v3_promo_media_url", "news_v3_promo_cta_url", "news_v4_key_takeaways_background", "news_v4_key_takeaways_rounded", "news_v4_key_takeaways_border", "news_v4_key_takeaways_bullet_color", "news_v4_key_takeaways_glow", "analyst_recommendations_text_color", "analyst_recommendations_secondary_text_color", "analyst_recommendations_padding", "analyst_recommendations_buy_color", "analyst_recommendations_neutral_color", "analyst_recommendations_sell_color", "analyst_recommendations_track_color", "analyst_recommendations_needle_color", "analyst_recommendations_show_asset", "analyst_recommendations_mode", "analyst_recommendations_strong_sell_bar_color", "analyst_recommendations_strong_sell_text_color", "analyst_recommendations_moderate_sell_bar_color", "analyst_recommendations_moderate_sell_text_color", "analyst_recommendations_hold_bar_color", "analyst_recommendations_hold_text_color", "analyst_recommendations_moderate_buy_bar_color", "analyst_recommendations_moderate_buy_text_color", "analyst_recommendations_strong_buy_bar_color", "analyst_recommendations_strong_buy_text_color", "live_updates_dot_fresh_color", "live_updates_dot_seen_color", "live_updates_version", "video_explainer_card_background", "video_explainer_rail_background", "video_explainer_tab_background", "video_explainer_text_color", "video_explainer_muted_text_color", "video_explainer_border_color", "video_explainer_accent", "video_explainer_accent_soft", "video_explainer_up_color", "video_explainer_down_color", "video_explainer_rounded", "video_explainer_heading_font", "video_explainer_body_font", "video_explainer_max_width"]; type WidgetStylePayload = Pick & { schema_version: number; }; declare function toPayload(style: WidgetStyle): WidgetStylePayload; export { type BaseStyle as B, type CtaPosition as C, IDENTITY_FIELDS as I, type Positions as P, ROUTING_FIELDS as R, type StyleOverrides as S, type WidgetStyle as W, type WidgetComboType as a, PAYLOAD_FIELDS as b, WIDGET_STYLE_SCHEMA_VERSION as c, type WidgetComboKey as d, type WidgetKey as e, type WidgetStylePayload as f, type WidgetType as g, toPayload as t };