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