/**
 * Create 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, CreateEventsModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EventsModuleSelect, EventsModuleWithRelations, CreateEventsModuleInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a EventsModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateEventsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateEventsModuleMutation<S extends EventsModuleSelect>(params: {
    selection: {
        fields: S & EventsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, EventsModuleSelect>;
} & Omit<UseMutationOptions<{
    createEventsModule: {
        eventsModule: InferSelectResult<EventsModuleWithRelations, S>;
    };
}, Error, CreateEventsModuleInput['eventsModule']>, 'mutationFn'>): UseMutationResult<{
    createEventsModule: {
        eventsModule: InferSelectResult<EventsModuleWithRelations, S>;
    };
}, Error, CreateEventsModuleInput['eventsModule']>;
