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