/**
 * 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 { AppLevelSelect, AppLevelWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLevelSelect, AppLevelWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLevelQueryKey: (id: string | number) => readonly ["applevel", "detail", string | number];
/**
 * Defines available levels that users can achieve by completing requirements
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLevelQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAppLevelQuery<S extends AppLevelSelect, TData = {
    appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
} & Omit<UseQueryOptions<{
    appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Defines available levels that users can achieve by completing requirements
 *
 * @example
 * ```ts
 * const data = await fetchAppLevelQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAppLevelQuery<S extends AppLevelSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
}): Promise<{
    appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
}>;
/**
 * Defines available levels that users can achieve by completing requirements
 *
 * @example
 * ```ts
 * await prefetchAppLevelQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAppLevelQuery<S extends AppLevelSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
}): Promise<void>;
