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