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