import type { WidgetDto, WidgetStyle } from '../types.js';
/**
 * Loose record of unsupported style fields preserved from the original
 * Fusion DTO. Returned by {@link extractUnsupportedStyleOptions}.
 *
 * Typed as `Record<string, unknown>` because the keys and shapes go beyond
 * what `WidgetStyle` declares — e.g. `'center/value'` on sunburst, or
 * `'borders/grid'` on table widgets. Stored on
 * `SpecificWidgetOptions.partialDtoOptions.style` and re-attached when
 * serializing back to a DTO via `applyPartialDtoStyle` so values survive
 * Fusion → CSDK → Fusion round-trips.
 *
 * @internal
 */
export type UnsupportedStyleOptions = Record<string, unknown>;
/**
 * Extracts the style fields that the CSDK widget model does not currently
 * translate to first-class `WidgetStyleOptions` for the given widget type.
 *
 * The result is stored on `SpecificWidgetOptions.partialDtoOptions.style` and
 * re-attached during CSDK → Fusion serialization (see `applyPartialDtoStyle`).
 * Returns an empty object for widget types that have no known unsupported
 * style fields, or for unknown / plugin types whose raw style is opaque to
 * the CSDK.
 *
 * @param widgetType - Fusion widget type from `WidgetDto.type`
 * @param style - Raw `WidgetDto.style` from the server
 * @returns A partial style containing only known-unsupported fields
 * @internal
 */
export declare function extractUnsupportedStyleOptions(widgetType: WidgetDto['type'], style: WidgetStyle | undefined): UnsupportedStyleOptions;
