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