import { UseMutationOptions } from '@tanstack/react-query'; import type { SuccessResponse } from '../responses/SuccessResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { NotFoundResponse } from '../responses/NotFoundResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteWebhookMutationPathParams { registry_ref: string; webhook_identifier: string; } export type DeleteWebhookOkResponse = ResponseWithPagination; export type DeleteWebhookErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface DeleteWebhookProps extends DeleteWebhookMutationPathParams, Omit, 'url'> { } export declare function deleteWebhook(props: DeleteWebhookProps): Promise; /** * Delete a Webhook */ export declare function useDeleteWebhookMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;