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