/**
 * 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, CreateOrgLimitCapInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgLimitCapSelect, OrgLimitCapWithRelations, CreateOrgLimitCapInput, } 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 } = useCreateOrgLimitCapMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateOrgLimitCapMutation<S extends OrgLimitCapSelect>(params: {
    selection: {
        fields: S & OrgLimitCapSelect;
    } & HookStrictSelect<NoInfer<S>, OrgLimitCapSelect>;
} & Omit<UseMutationOptions<{
    createOrgLimitCap: {
        orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S>;
    };
}, Error, CreateOrgLimitCapInput['orgLimitCap']>, 'mutationFn'>): UseMutationResult<{
    createOrgLimitCap: {
        orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S>;
    };
}, Error, CreateOrgLimitCapInput['orgLimitCap']>;
