/**
 * Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
 * @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 { AppAchievementSelect, AppAchievementWithRelations, AppAchievementFilter, AppAchievementOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppAchievementSelect, AppAchievementWithRelations, AppAchievementFilter, AppAchievementOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appAchievementsQueryKey: (variables?: object) => readonly ["appachievement", "list", object];
/**
 * Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppAchievementsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppAchievementsQuery<S extends AppAchievementSelect, TData = {
    appAchievements: ConnectionResult<InferSelectResult<AppAchievementWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppAchievementFilter, AppAchievementOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppAchievementSelect>;
} & Omit<UseQueryOptions<{
    appAchievements: ConnectionResult<InferSelectResult<AppAchievementWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
 *
 * @example
 * ```ts
 * const data = await fetchAppAchievementsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppAchievementsQuery<S extends AppAchievementSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppAchievementFilter, AppAchievementOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppAchievementSelect>;
}): Promise<{
    appAchievements: ConnectionResult<InferSelectResult<AppAchievementWithRelations, S>>;
}>;
/**
 * Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
 *
 * @example
 * ```ts
 * await prefetchAppAchievementsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppAchievementsQuery<S extends AppAchievementSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppAchievementFilter, AppAchievementOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppAchievementSelect>;
}): Promise<void>;
