/**
 * Delete 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EventsModuleSelect, EventsModuleWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a EventsModule with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteEventsModuleMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteEventsModuleMutation<S extends EventsModuleSelect>(params: {
    selection: {
        fields: S & EventsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, EventsModuleSelect>;
} & Omit<UseMutationOptions<{
    deleteEventsModule: {
        eventsModule: InferSelectResult<EventsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteEventsModule: {
        eventsModule: InferSelectResult<EventsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
