/**
 * Update mutation hook for DefaultPrivilege
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { DefaultPrivilegeSelect, DefaultPrivilegeWithRelations, DefaultPrivilegePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DefaultPrivilegeSelect, DefaultPrivilegeWithRelations, DefaultPrivilegePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a DefaultPrivilege
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateDefaultPrivilegeMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', defaultPrivilegePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateDefaultPrivilegeMutation<S extends DefaultPrivilegeSelect>(params: {
    selection: {
        fields: S & DefaultPrivilegeSelect;
    } & HookStrictSelect<NoInfer<S>, DefaultPrivilegeSelect>;
} & Omit<UseMutationOptions<{
    updateDefaultPrivilege: {
        defaultPrivilege: InferSelectResult<DefaultPrivilegeWithRelations, S>;
    };
}, Error, {
    id: string;
    defaultPrivilegePatch: DefaultPrivilegePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateDefaultPrivilege: {
        defaultPrivilege: InferSelectResult<DefaultPrivilegeWithRelations, S>;
    };
}, Error, {
    id: string;
    defaultPrivilegePatch: DefaultPrivilegePatch;
}>;
