/**
 * Join table linking permission defaults to individual permissions; recompute trigger rebuilds the defaults bitmask
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgPermissionDefaultPermissionSelect, OrgPermissionDefaultPermissionWithRelations, OrgPermissionDefaultPermissionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgPermissionDefaultPermissionSelect, OrgPermissionDefaultPermissionWithRelations, OrgPermissionDefaultPermissionPatch, } from '../../orm/input-types';
/**
 * Join table linking permission defaults to individual permissions; recompute trigger rebuilds the defaults bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgPermissionDefaultPermissionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgPermissionDefaultPermissionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgPermissionDefaultPermissionMutation<S extends OrgPermissionDefaultPermissionSelect>(params: {
    selection: {
        fields: S & OrgPermissionDefaultPermissionSelect;
    } & HookStrictSelect<NoInfer<S>, OrgPermissionDefaultPermissionSelect>;
} & Omit<UseMutationOptions<{
    updateOrgPermissionDefaultPermission: {
        orgPermissionDefaultPermission: InferSelectResult<OrgPermissionDefaultPermissionWithRelations, S>;
    };
}, Error, {
    id: string;
    orgPermissionDefaultPermissionPatch: OrgPermissionDefaultPermissionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgPermissionDefaultPermission: {
        orgPermissionDefaultPermission: InferSelectResult<OrgPermissionDefaultPermissionWithRelations, S>;
    };
}, Error, {
    id: string;
    orgPermissionDefaultPermissionPatch: OrgPermissionDefaultPermissionPatch;
}>;
