/**
 * List 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 { ListSelectionConfig } from '../selection';
import type { AgentResourceChunkSelect, AgentResourceChunkWithRelations, AgentResourceChunkFilter, AgentResourceChunkOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentResourceChunkSelect, AgentResourceChunkWithRelations, AgentResourceChunkFilter, AgentResourceChunkOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const agentResourceChunksQueryKey: (variables?: object) => readonly ["agentresourcechunk", "list", object];
/**
 * Query hook for fetching AgentResourceChunk list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAgentResourceChunksQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAgentResourceChunksQuery<S extends AgentResourceChunkSelect, TData = {
    agentResourceChunks: ConnectionResult<InferSelectResult<AgentResourceChunkWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentResourceChunkFilter, AgentResourceChunkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentResourceChunkSelect>;
} & Omit<UseQueryOptions<{
    agentResourceChunks: ConnectionResult<InferSelectResult<AgentResourceChunkWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch AgentResourceChunk list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchAgentResourceChunksQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAgentResourceChunksQuery<S extends AgentResourceChunkSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentResourceChunkFilter, AgentResourceChunkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentResourceChunkSelect>;
}): Promise<{
    agentResourceChunks: ConnectionResult<InferSelectResult<AgentResourceChunkWithRelations, S>>;
}>;
/**
 * Prefetch AgentResourceChunk list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchAgentResourceChunksQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAgentResourceChunksQuery<S extends AgentResourceChunkSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentResourceChunkFilter, AgentResourceChunkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentResourceChunkSelect>;
}): Promise<void>;
