import type { GetHierarchyModelsParams, HierarchyModel } from '@sisense/sdk-ui-preact'; import type { MaybeRefOrWithRefs } from '../types'; /** * A Vue composable function `useGetHierarchyModels` for retrieving hierarchy models from Sisense instance. * * @param {GetHierarchyModelsParams} params - The parameters for fetching the hierarchy models. * * @example * Retrieve hierarchy models: * * ```vue * * ``` * * The composable returns an object with reactive properties that represent the state of the hierarchy models fetch operation: * - `data`: Fetched hierarchy models, which is `undefined` until the operation is successfully completed. * - `isLoading`: A boolean indicating whether the fetch operation is currently in progress. * - `isError`: A boolean indicating whether an error occurred during the fetch operation. * - `isSuccess`: A boolean indicating whether the fetch operation was successfully completed without any errors. * - `error`: An error object containing details about any errors that occurred during the fetch operation. * * This composable streamlines the process of fetching and managing Sisense hierarchy models within Vue applications, providing * developers with a reactive and efficient way to integrate Sisense data visualizations and analytics. * @group Fusion Assets * @fusionEmbed */ export declare const useGetHierarchyModels: (params: MaybeRefOrWithRefs) => import("vue").ToRefs>;