/**
 * Single item query hook for FullTextSearch
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { FullTextSearchSelect, FullTextSearchWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FullTextSearchSelect, FullTextSearchWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const fullTextSearchQueryKey: (id: string | number) => readonly ["fulltextsearch", "detail", string | number];
/**
 * Query hook for fetching a single FullTextSearch
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFullTextSearchQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFullTextSearchQuery<S extends FullTextSearchSelect, TData = {
    fullTextSearch: InferSelectResult<FullTextSearchWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FullTextSearchSelect>;
} & Omit<UseQueryOptions<{
    fullTextSearch: InferSelectResult<FullTextSearchWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single FullTextSearch without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchFullTextSearchQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFullTextSearchQuery<S extends FullTextSearchSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FullTextSearchSelect>;
}): Promise<{
    fullTextSearch: InferSelectResult<FullTextSearchWithRelations, S> | null;
}>;
/**
 * Prefetch a single FullTextSearch for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchFullTextSearchQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFullTextSearchQuery<S extends FullTextSearchSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FullTextSearchSelect>;
}): Promise<void>;
