import { type ExecutePivotQueryParams, type ExecuteQueryParams, type PivotTableWidgetProps, type TextWidgetProps, type WidgetModel } from '@sisense/sdk-ui-preact';
import type { ChartProps, PivotTableProps, TableProps } from '../components/charts';
import type { ChartWidgetProps, WidgetProps } from '../components/widgets';
/**
* Translates a {@link WidgetModel} to the parameters for executing a query for the widget.
*
* @example
* ```vue
* ```
*
* Note: this method is not supported for getting pivot query.
* Use {@link toExecutePivotQueryParams} instead for getting query parameters for the pivot widget.
*/
export declare const toExecuteQueryParams: (widgetModel: WidgetModel) => ExecuteQueryParams;
/**
* Translates a {@link WidgetModel} to the parameters for executing a query for the pivot widget.
*
* @example
* ```vue
* ```
*
* Note: this method is supported only for getting pivot query.
* Use {@link toExecuteQueryParams} instead for getting query parameters for non-pivot widgets.
*/
export declare const toExecutePivotQueryParams: (widgetModel: WidgetModel) => ExecutePivotQueryParams;
/**
* Translates a {@link WidgetModel} to the props for rendering a chart.
*
* @example
* ```vue
* ```
*
* Note: this method is not supported for pivot widgets.
* Use {@link toPivotTableProps} instead for getting props for the {@link PivotTable}.
*/
export declare function toChartProps(widgetModel: WidgetModel): ChartProps;
/**
* Translates a {@link WidgetModel} to the props for rendering a table.
*
* @example
* ```vue
* ```
*
* Note: this method is not supported for chart and pivot widgets.
* Use {@link toChartProps} instead for getting props for the {@link Chart}.
* Use {@link toPivotTableProps} instead for getting props for the {@link PivotTable}.
*/
export declare function toTableProps(widgetModel: WidgetModel): TableProps;
/**
* Translates a {@link WidgetModel} to the props for rendering a pivot table.
*
* @example
* ```vue
* ```
*
* Note: this method is not supported for chart or table widgets.
* Use {@link toChartProps} instead for getting props for the {@link Chart}.
* Use {@link toTableProps} instead for getting props for the {@link Table}.
*/
export declare function toPivotTableProps(widgetModel: WidgetModel): PivotTableProps;
/**
* Translates a {@link WidgetModel} to the props for rendering a chart widget.
*
* @example
* ```vue
* ```
*
* Note: this method is not supported for pivot widgets.
*/
export declare function toChartWidgetProps(widgetModel: WidgetModel): ChartWidgetProps;
/**
* Translates a {@link WidgetModel} to the props for rendering a pivot table widget.
*
* @example
* ```vue
* ```
*
* Note: this method is not supported for chart or table widgets.
* Use {@link toChartWidgetProps} instead for getting props for the {@link ChartWidget}.
*/
export declare function toPivotTableWidgetProps(widgetModel: WidgetModel): PivotTableWidgetProps;
/**
* Translates a {@link WidgetModel} to the props for rendering a text widget.
*
* @example
* ```vue
* ```
*
* Note: this method is not supported for chart or pivot widgets.
* Use {@link toChartWidgetProps} instead for getting props for the {@link ChartWidget}.
* Use {@link toPivotTableWidgetProps} instead for getting props for the pivot table widget.
*/
export declare function toTextWidgetProps(widgetModel: WidgetModel): TextWidgetProps;
/**
* Translates {@link WidgetModel} to {@link WidgetProps}.
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
export declare function toWidgetProps(widgetModel: WidgetModel): WidgetProps;