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