/**
 * 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 { ListSelectionConfig } from '../selection';
import type { AppLimitWarningSelect, AppLimitWarningWithRelations, AppLimitWarningFilter, AppLimitWarningOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitWarningSelect, AppLimitWarningWithRelations, AppLimitWarningFilter, AppLimitWarningOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLimitWarningsQueryKey: (variables?: object) => readonly ["applimitwarning", "list", object];
/**
 * 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 } = useAppLimitWarningsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppLimitWarningsQuery<S extends AppLimitWarningSelect, TData = {
    appLimitWarnings: ConnectionResult<InferSelectResult<AppLimitWarningWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitWarningFilter, AppLimitWarningOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
} & Omit<UseQueryOptions<{
    appLimitWarnings: ConnectionResult<InferSelectResult<AppLimitWarningWithRelations, S>>;
}, 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 fetchAppLimitWarningsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppLimitWarningsQuery<S extends AppLimitWarningSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitWarningFilter, AppLimitWarningOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
}): Promise<{
    appLimitWarnings: ConnectionResult<InferSelectResult<AppLimitWarningWithRelations, S>>;
}>;
/**
 * Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
 *
 * @example
 * ```ts
 * await prefetchAppLimitWarningsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppLimitWarningsQuery<S extends AppLimitWarningSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitWarningFilter, AppLimitWarningOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
}): Promise<void>;
