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