/**
 * Defines the specific requirements that must be met to achieve a level
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { AppLevelRequirementSelect, AppLevelRequirementWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLevelRequirementSelect, AppLevelRequirementWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLevelRequirementQueryKey: (id: string | number) => readonly ["applevelrequirement", "detail", string | number];
/**
 * Defines the specific requirements that must be met to achieve a level
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLevelRequirementQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAppLevelRequirementQuery<S extends AppLevelRequirementSelect, TData = {
    appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLevelRequirementSelect>;
} & Omit<UseQueryOptions<{
    appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Defines the specific requirements that must be met to achieve a level
 *
 * @example
 * ```ts
 * const data = await fetchAppLevelRequirementQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAppLevelRequirementQuery<S extends AppLevelRequirementSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLevelRequirementSelect>;
}): Promise<{
    appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
}>;
/**
 * Defines the specific requirements that must be met to achieve a level
 *
 * @example
 * ```ts
 * await prefetchAppLevelRequirementQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAppLevelRequirementQuery<S extends AppLevelRequirementSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLevelRequirementSelect>;
}): Promise<void>;
