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