/**
 * Unified skills and knowledge resources for agent retrieval
 * @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 { AgentResourceSelect, AgentResourceWithRelations, AgentResourceFilter, AgentResourceOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentResourceSelect, AgentResourceWithRelations, AgentResourceFilter, AgentResourceOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const agentResourcesQueryKey: (variables?: object) => readonly ["agentresource", "list", object];
/**
 * Unified skills and knowledge resources for agent retrieval
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAgentResourcesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAgentResourcesQuery<S extends AgentResourceSelect, TData = {
    agentResources: ConnectionResult<InferSelectResult<AgentResourceWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentResourceFilter, AgentResourceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentResourceSelect>;
} & Omit<UseQueryOptions<{
    agentResources: ConnectionResult<InferSelectResult<AgentResourceWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Unified skills and knowledge resources for agent retrieval
 *
 * @example
 * ```ts
 * const data = await fetchAgentResourcesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAgentResourcesQuery<S extends AgentResourceSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentResourceFilter, AgentResourceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentResourceSelect>;
}): Promise<{
    agentResources: ConnectionResult<InferSelectResult<AgentResourceWithRelations, S>>;
}>;
/**
 * Unified skills and knowledge resources for agent retrieval
 *
 * @example
 * ```ts
 * await prefetchAgentResourcesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAgentResourcesQuery<S extends AgentResourceSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentResourceFilter, AgentResourceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentResourceSelect>;
}): Promise<void>;
