/**
 * Update mutation hook for ProfilesModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ProfilesModuleSelect, ProfilesModuleWithRelations, ProfilesModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ProfilesModuleSelect, ProfilesModuleWithRelations, ProfilesModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a ProfilesModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateProfilesModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', profilesModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateProfilesModuleMutation<S extends ProfilesModuleSelect>(params: {
    selection: {
        fields: S & ProfilesModuleSelect;
    } & HookStrictSelect<NoInfer<S>, ProfilesModuleSelect>;
} & Omit<UseMutationOptions<{
    updateProfilesModule: {
        profilesModule: InferSelectResult<ProfilesModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    profilesModulePatch: ProfilesModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateProfilesModule: {
        profilesModule: InferSelectResult<ProfilesModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    profilesModulePatch: ProfilesModulePatch;
}>;
