/**
 * Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { AppLimitWarningSelect, AppLimitWarningWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitWarningSelect, AppLimitWarningWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLimitWarningQueryKey: (id: string | number) => readonly ["applimitwarning", "detail", string | number];
/**
 * Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLimitWarningQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAppLimitWarningQuery<S extends AppLimitWarningSelect, TData = {
    appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
} & Omit<UseQueryOptions<{
    appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
 *
 * @example
 * ```ts
 * const data = await fetchAppLimitWarningQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAppLimitWarningQuery<S extends AppLimitWarningSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
}): Promise<{
    appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S> | null;
}>;
/**
 * Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
 *
 * @example
 * ```ts
 * await prefetchAppLimitWarningQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAppLimitWarningQuery<S extends AppLimitWarningSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
}): Promise<void>;
