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