/**
 * Per-user bcrypt credential store (password hashes, API key hashes).
     Always user-scoped with AuthzDirectOwner RLS. Consumed by user_auth_module,
     identity_providers_module, and bootstrap procedures.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { UserCredentialsModuleSelect, UserCredentialsModuleWithRelations, UserCredentialsModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { UserCredentialsModuleSelect, UserCredentialsModuleWithRelations, UserCredentialsModulePatch, } from '../../orm/input-types';
/**
 * Per-user bcrypt credential store (password hashes, API key hashes).
     Always user-scoped with AuthzDirectOwner RLS. Consumed by user_auth_module,
     identity_providers_module, and bootstrap procedures.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateUserCredentialsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', userCredentialsModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateUserCredentialsModuleMutation<S extends UserCredentialsModuleSelect>(params: {
    selection: {
        fields: S & UserCredentialsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, UserCredentialsModuleSelect>;
} & Omit<UseMutationOptions<{
    updateUserCredentialsModule: {
        userCredentialsModule: InferSelectResult<UserCredentialsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    userCredentialsModulePatch: UserCredentialsModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateUserCredentialsModule: {
        userCredentialsModule: InferSelectResult<UserCredentialsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    userCredentialsModulePatch: UserCredentialsModulePatch;
}>;
