/**
 * 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 { OrgLimitCapSelect, OrgLimitCapWithRelations, OrgLimitCapPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgLimitCapSelect, OrgLimitCapWithRelations, OrgLimitCapPatch, } 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 } = useUpdateOrgLimitCapMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgLimitCapPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgLimitCapMutation<S extends OrgLimitCapSelect>(params: {
    selection: {
        fields: S & OrgLimitCapSelect;
    } & HookStrictSelect<NoInfer<S>, OrgLimitCapSelect>;
} & Omit<UseMutationOptions<{
    updateOrgLimitCap: {
        orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S>;
    };
}, Error, {
    id: string;
    orgLimitCapPatch: OrgLimitCapPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgLimitCap: {
        orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S>;
    };
}, Error, {
    id: string;
    orgLimitCapPatch: OrgLimitCapPatch;
}>;
