import { type ExecutePivotQueryParams, type PivotQueryState } from '@sisense/sdk-ui-preact'; import type { MaybeRefOrWithRefs } from '../types'; /** * A Vue composable function `useExecutePivotQuery` that executes a pivot data query. * @param {MaybeRefOrWithRefs} params - The parameters for the query, supporting reactive Vue refs. * Includes details such as `dataSource`, `dimensions`, `rows`, `columns`, `values`, `filters` and more, allowing for comprehensive * query configuration. The `filters` parameter supports dynamic filtering based on user interaction or other application * state changes. * * @example * How to use `useExecutePivotQuery` within a Vue component: * ```vue * * ``` * * The composable returns an object with the following reactive properties to manage the query state: * - `data`: The Pivot query result data set returned from the query. It remains `undefined` until the query completes successfully. * - `isLoading`: Indicates if the query is in progress. * - `isError`: Indicates if an error occurred during query execution. * - `isSuccess`: Indicates if the query executed successfully without errors. * - `error`: Contains the error object if an error occurred during the query. * * This composable facilitates integrating Sisense data fetching into Vue applications, enabling developers * to easily manage query states and dynamically adjust query parameters based on application needs. * @group Queries */ export declare const useExecutePivotQuery: (params: MaybeRefOrWithRefs) => import("vue").ToRefs;