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