/**
 * 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 { AppPermissionDefaultPermissionSelect, AppPermissionDefaultPermissionWithRelations, AppPermissionDefaultPermissionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppPermissionDefaultPermissionSelect, AppPermissionDefaultPermissionWithRelations, AppPermissionDefaultPermissionPatch, } from '../../orm/input-types';
/**
 * Join table linking permission defaults to individual permissions; recompute trigger rebuilds the defaults bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppPermissionDefaultPermissionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appPermissionDefaultPermissionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppPermissionDefaultPermissionMutation<S extends AppPermissionDefaultPermissionSelect>(params: {
    selection: {
        fields: S & AppPermissionDefaultPermissionSelect;
    } & HookStrictSelect<NoInfer<S>, AppPermissionDefaultPermissionSelect>;
} & Omit<UseMutationOptions<{
    updateAppPermissionDefaultPermission: {
        appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S>;
    };
}, Error, {
    id: string;
    appPermissionDefaultPermissionPatch: AppPermissionDefaultPermissionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppPermissionDefaultPermission: {
        appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S>;
    };
}, Error, {
    id: string;
    appPermissionDefaultPermissionPatch: AppPermissionDefaultPermissionPatch;
}>;
