/**
 * 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 { OrgLimitWarningSelect, OrgLimitWarningWithRelations, OrgLimitWarningFilter, OrgLimitWarningOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgLimitWarningSelect, OrgLimitWarningWithRelations, OrgLimitWarningFilter, OrgLimitWarningOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgLimitWarningsQueryKey: (variables?: object) => readonly ["orglimitwarning", "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 } = useOrgLimitWarningsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgLimitWarningsQuery<S extends OrgLimitWarningSelect, TData = {
    orgLimitWarnings: ConnectionResult<InferSelectResult<OrgLimitWarningWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitWarningFilter, OrgLimitWarningOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitWarningSelect>;
} & Omit<UseQueryOptions<{
    orgLimitWarnings: ConnectionResult<InferSelectResult<OrgLimitWarningWithRelations, 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 fetchOrgLimitWarningsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgLimitWarningsQuery<S extends OrgLimitWarningSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitWarningFilter, OrgLimitWarningOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitWarningSelect>;
}): Promise<{
    orgLimitWarnings: ConnectionResult<InferSelectResult<OrgLimitWarningWithRelations, 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 prefetchOrgLimitWarningsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgLimitWarningsQuery<S extends OrgLimitWarningSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitWarningFilter, OrgLimitWarningOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitWarningSelect>;
}): Promise<void>;
