/**
 * Webhook route authority: (host, path) -> function task_identifier invoked through the webhook channel, with provider, signing-secret reference, and replay window
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { WebhookEndpointSelect, WebhookEndpointWithRelations, WebhookEndpointPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { WebhookEndpointSelect, WebhookEndpointWithRelations, WebhookEndpointPatch, } from '../../orm/input-types';
/**
 * Webhook route authority: (host, path) -> function task_identifier invoked through the webhook channel, with provider, signing-secret reference, and replay window
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateWebhookEndpointMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', webhookEndpointPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateWebhookEndpointMutation<S extends WebhookEndpointSelect>(params: {
    selection: {
        fields: S & WebhookEndpointSelect;
    } & HookStrictSelect<NoInfer<S>, WebhookEndpointSelect>;
} & Omit<UseMutationOptions<{
    updateWebhookEndpoint: {
        webhookEndpoint: InferSelectResult<WebhookEndpointWithRelations, S>;
    };
}, Error, {
    id: string;
    webhookEndpointPatch: WebhookEndpointPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateWebhookEndpoint: {
        webhookEndpoint: InferSelectResult<WebhookEndpointWithRelations, S>;
    };
}, Error, {
    id: string;
    webhookEndpointPatch: WebhookEndpointPatch;
}>;
