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