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