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