/**
 * Defines available levels that users can achieve by completing requirements
 * @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 { AppLevelSelect, AppLevelWithRelations, AppLevelFilter, AppLevelOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLevelSelect, AppLevelWithRelations, AppLevelFilter, AppLevelOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLevelsQueryKey: (variables?: object) => readonly ["applevel", "list", object];
/**
 * Defines available levels that users can achieve by completing requirements
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLevelsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppLevelsQuery<S extends AppLevelSelect, TData = {
    appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLevelFilter, AppLevelOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
} & Omit<UseQueryOptions<{
    appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Defines available levels that users can achieve by completing requirements
 *
 * @example
 * ```ts
 * const data = await fetchAppLevelsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppLevelsQuery<S extends AppLevelSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLevelFilter, AppLevelOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
}): Promise<{
    appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
}>;
/**
 * Defines available levels that users can achieve by completing requirements
 *
 * @example
 * ```ts
 * await prefetchAppLevelsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppLevelsQuery<S extends AppLevelSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLevelFilter, AppLevelOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
}): Promise<void>;
