/**
 * 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 { AgentResourceSelect, AgentResourceWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentResourceSelect, AgentResourceWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const agentResourceQueryKey: (id: string | number) => readonly ["agentresource", "detail", string | number];
/**
 * Unified skills and knowledge resources for agent retrieval
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAgentResourceQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAgentResourceQuery<S extends AgentResourceSelect, TData = {
    agentResource: InferSelectResult<AgentResourceWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AgentResourceSelect>;
} & Omit<UseQueryOptions<{
    agentResource: InferSelectResult<AgentResourceWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Unified skills and knowledge resources for agent retrieval
 *
 * @example
 * ```ts
 * const data = await fetchAgentResourceQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAgentResourceQuery<S extends AgentResourceSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AgentResourceSelect>;
}): Promise<{
    agentResource: InferSelectResult<AgentResourceWithRelations, S> | null;
}>;
/**
 * Unified skills and knowledge resources for agent retrieval
 *
 * @example
 * ```ts
 * await prefetchAgentResourceQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAgentResourceQuery<S extends AgentResourceSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AgentResourceSelect>;
}): Promise<void>;
