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