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