/**
 * List 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 { ListSelectionConfig } from '../selection';
import type { FullTextSearchSelect, FullTextSearchWithRelations, FullTextSearchFilter, FullTextSearchOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FullTextSearchSelect, FullTextSearchWithRelations, FullTextSearchFilter, FullTextSearchOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const fullTextSearchesQueryKey: (variables?: object) => readonly ["fulltextsearch", "list", object];
/**
 * Query hook for fetching FullTextSearch list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFullTextSearchesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFullTextSearchesQuery<S extends FullTextSearchSelect, TData = {
    fullTextSearches: ConnectionResult<InferSelectResult<FullTextSearchWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FullTextSearchFilter, FullTextSearchOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FullTextSearchSelect>;
} & Omit<UseQueryOptions<{
    fullTextSearches: ConnectionResult<InferSelectResult<FullTextSearchWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch FullTextSearch list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchFullTextSearchesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFullTextSearchesQuery<S extends FullTextSearchSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FullTextSearchFilter, FullTextSearchOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FullTextSearchSelect>;
}): Promise<{
    fullTextSearches: ConnectionResult<InferSelectResult<FullTextSearchWithRelations, S>>;
}>;
/**
 * Prefetch FullTextSearch list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchFullTextSearchesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFullTextSearchesQuery<S extends FullTextSearchSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FullTextSearchFilter, FullTextSearchOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FullTextSearchSelect>;
}): Promise<void>;
