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