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