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