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