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