import { type UseGetNlqResultParams as UseGetNlqResultParamsPreact, type UseGetNlqResultState as UseGetNlqResultStatePreact } from '@sisense/sdk-ui-preact/ai'; import { type Ref } from 'vue'; import type { WidgetProps } from '../../components/widgets'; import type { MaybeRefOrWithRefs, ToRefsExceptFns } from '../../types'; /** * Parameters for {@link @sisense/sdk-ui-vue!useGetNlqResult | `useGetNlqResult`} composable. */ export interface UseGetNlqResultParams extends UseGetNlqResultParamsPreact { } /** * State for {@link @sisense/sdk-ui-vue!useGetNlqResult | `useGetNlqResult`} composable. */ export interface UseGetNlqResultState extends ToRefsExceptFns, 'refetch'> { /** * {@inheritDoc @sisense/sdk-ui!UseGetNlqResultState.data} */ data: Ref; } /** * A Vue composable that enables natural language query (NLQ) against a data model or perspective. * * @example * ```vue * ``` * @param params - {@link UseGetNlqResultParams} * @returns The composable NLQ load state that contains the status of the execution, the result (data) as WidgetProps * @group Generative AI * @beta */ export declare const useGetNlqResult: (params: MaybeRefOrWithRefs) => UseGetNlqResultState;