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