/**
 * 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, CreateWebhookEndpointInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { WebhookEndpointSelect, WebhookEndpointWithRelations, CreateWebhookEndpointInput, } 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 } = useCreateWebhookEndpointMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateWebhookEndpointMutation<S extends WebhookEndpointSelect>(params: {
    selection: {
        fields: S & WebhookEndpointSelect;
    } & HookStrictSelect<NoInfer<S>, WebhookEndpointSelect>;
} & Omit<UseMutationOptions<{
    createWebhookEndpoint: {
        webhookEndpoint: InferSelectResult<WebhookEndpointWithRelations, S>;
    };
}, Error, CreateWebhookEndpointInput['webhookEndpoint']>, 'mutationFn'>): UseMutationResult<{
    createWebhookEndpoint: {
        webhookEndpoint: InferSelectResult<WebhookEndpointWithRelations, S>;
    };
}, Error, CreateWebhookEndpointInput['webhookEndpoint']>;
