/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppLimitCapSelect, AppLimitCapWithRelations, AppLimitCapPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCapSelect, AppLimitCapWithRelations, AppLimitCapPatch, } from '../../orm/input-types';
/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppLimitCapMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appLimitCapPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppLimitCapMutation<S extends AppLimitCapSelect>(params: {
    selection: {
        fields: S & AppLimitCapSelect;
    } & HookStrictSelect<NoInfer<S>, AppLimitCapSelect>;
} & Omit<UseMutationOptions<{
    updateAppLimitCap: {
        appLimitCap: InferSelectResult<AppLimitCapWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCapPatch: AppLimitCapPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppLimitCap: {
        appLimitCap: InferSelectResult<AppLimitCapWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCapPatch: AppLimitCapPatch;
}>;
