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