/**
 * Delete mutation hook for UsersModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { UsersModuleSelect, UsersModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { UsersModuleSelect, UsersModuleWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a UsersModule with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteUsersModuleMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteUsersModuleMutation<S extends UsersModuleSelect>(params: {
    selection: {
        fields: S & UsersModuleSelect;
    } & HookStrictSelect<NoInfer<S>, UsersModuleSelect>;
} & Omit<UseMutationOptions<{
    deleteUsersModule: {
        usersModule: InferSelectResult<UsersModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteUsersModule: {
        usersModule: InferSelectResult<UsersModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
