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