import type { WidgetAbilities } from './types'; /** * Every value of {@link WidgetAbilities.data}, for validating untrusted input. * * @internal */ export declare const WIDGET_DATA_KINDS: readonly ["none", "members", "query"]; /** * Every {@link WidgetInteraction}, for validating untrusted input. * * @internal */ export declare const WIDGET_INTERACTIONS: readonly ["widgetClick", "dataPointClick", "dataPointContextMenu", "dataPointsSelect"]; /** * Overrides of a base {@link WidgetAbilities} value. `layout` is merged field by field. * * @internal */ export type WidgetAbilityOverrides = Partial> & { readonly layout?: Partial; }; /** * Returns a deep-frozen copy of an abilities value. * * @param abilities - The abilities to freeze. * @returns The frozen copy. * @internal */ export declare const freezeAbilities: (abilities: WidgetAbilities) => WidgetAbilities; /** * Applies overrides to a base abilities value. Pure: returns a new, frozen value. * * @param base - The abilities to start from. * @param overrides - The fields that differ from `base`. * @returns The merged abilities. * @internal */ export declare const withAbilityOverrides: (base: WidgetAbilities, overrides: WidgetAbilityOverrides) => WidgetAbilities; /** * The data-point events of query-driven visualizations. * * @internal */ export declare const DATA_POINT_INTERACTIONS: readonly ["dataPointClick", "dataPointContextMenu", "dataPointsSelect"]; /** * Family default of the built-in chart types: a query, the data-point events of the shared chart * renderers, highlights, and the default chart size. * * @internal */ export declare const CHART_ABILITIES: WidgetAbilities; /** * Family default of the chart types that accept drilled data options: cartesian (including * polar), categorical, scatter, boxplot, range and sankey charts, the chart types * `isDrilldownApplicableToChart` supports. * * @internal */ export declare const DRILLABLE_CHART_ABILITIES: WidgetAbilities; /** * The events of chart types whose renderer emits only `dataPointClick` (indicator and the maps). * * @internal */ export declare const CLICK_ONLY_INTERACTIONS: WidgetAbilities['interactions']; /** * Family default of the non-chart widget types that run no query: no events, no highlights, and * the default chart size (layouts size them as charts). * * @internal */ export declare const NO_QUERY_ABILITIES: WidgetAbilities; /** * Abilities every widget plugin gets unless its manifest declares otherwise: what plugins get * today. * * @sisenseInternal */ export declare const PLUGIN_ABILITY_DEFAULTS: WidgetAbilities;