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