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