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