import { ExecuteQueryParams, ExecuteQueryResult } from '../../types';
/**
 * React hook that executes a data query.
 *
 * This approach, which offers an alternative to the {@link ExecuteQuery} component, is similar to React Query's `useQuery` hook.
 *
 * ## Example
 *
 * Execute a query to retrieve revenue per country per year from the Sample ECommerce data model. Then display the data in a table and column chart.
 *
 * <iframe
 *  src='https://csdk-playground.sisense.com/?example=queries%2Fuse-execute-query-sorting&mode=docs'
 *  width='800'
 *  height='870'
 *  style='border:none;'
 * />
 *
 * Additional `useExecuteQuery()` examples:
 *
 * - [Query with Sorting](https://www.sisense.com/developers/playground/?example=queries%2Fuse-execute-query-sorting)
 * - [Take Control of Your Data Visualizations]( https://www.sisense.com/blog/take-control-of-your-data-visualizations/) blog post with examples of using the hook to fetch data to display in third-party charts.
 *
 * @returns Query state that contains the status of the query execution, the result data, or the error if any occurred
 * @group Queries
 */
export declare const useExecuteQuery: (params: ExecuteQueryParams) => ExecuteQueryResult;
/**
 * {@link useExecuteQuery} without tracking to be used inside other hooks or components in Compose SDK.
 *
 * @param params - Parameters of the query
 * @internal
 */
export declare function useExecuteQueryInternal(params: ExecuteQueryParams): ExecuteQueryResult;
