/**
 * Update 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, PlansModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlansModuleSelect, PlansModuleWithRelations, PlansModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a PlansModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePlansModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', plansModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePlansModuleMutation<S extends PlansModuleSelect>(params: {
    selection: {
        fields: S & PlansModuleSelect;
    } & HookStrictSelect<NoInfer<S>, PlansModuleSelect>;
} & Omit<UseMutationOptions<{
    updatePlansModule: {
        plansModule: InferSelectResult<PlansModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    plansModulePatch: PlansModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePlansModule: {
        plansModule: InferSelectResult<PlansModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    plansModulePatch: PlansModulePatch;
}>;
