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