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