/**
 * Durable webhook acceptance log — one row per accepted delivery, deduplicated on (endpoint_id, external_event_id), linked to the pending function invocation it enqueued
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { WebhookEventSelect, WebhookEventWithRelations, WebhookEventPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { WebhookEventSelect, WebhookEventWithRelations, WebhookEventPatch, } from '../../orm/input-types';
/**
 * Durable webhook acceptance log — one row per accepted delivery, deduplicated on (endpoint_id, external_event_id), linked to the pending function invocation it enqueued
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateWebhookEventMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', webhookEventPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateWebhookEventMutation<S extends WebhookEventSelect>(params: {
    selection: {
        fields: S & WebhookEventSelect;
    } & HookStrictSelect<NoInfer<S>, WebhookEventSelect>;
} & Omit<UseMutationOptions<{
    updateWebhookEvent: {
        webhookEvent: InferSelectResult<WebhookEventWithRelations, S>;
    };
}, Error, {
    id: string;
    webhookEventPatch: WebhookEventPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateWebhookEvent: {
        webhookEvent: InferSelectResult<WebhookEventWithRelations, S>;
    };
}, Error, {
    id: string;
    webhookEventPatch: WebhookEventPatch;
}>;
