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