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