import { UseMutationOptions } from '@tanstack/react-query'; import type { WebhookResponseResponse } from '../responses/WebhookResponseResponse'; 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 { WebhookRequestRequestBody } from '../requestBodies/WebhookRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateWebhookMutationPathParams { registry_ref: string; webhook_identifier: string; } export type UpdateWebhookRequestBody = WebhookRequestRequestBody; export type UpdateWebhookOkResponse = ResponseWithPagination; export type UpdateWebhookErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface UpdateWebhookProps extends UpdateWebhookMutationPathParams, Omit, 'url'> { body: UpdateWebhookRequestBody; } export declare function updateWebhook(props: UpdateWebhookProps): Promise; /** * Returns Webhook Details */ export declare function useUpdateWebhookMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;