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