import { UseMutationOptions } from '@tanstack/react-query'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteWebhooksAccountPathParams { webhook: string; } export interface DeleteWebhooksAccountHeaderParams { 'Harness-Account'?: string; } export type DeleteWebhooksAccountOKResponse = unknown; export type DeleteWebhooksAccountErrorResponse = unknown; export interface DeleteWebhooksOrgPathParams { org: string; webhook: string; } export interface DeleteWebhooksOrgHeaderParams { 'Harness-Account'?: string; } export type DeleteWebhooksOrgOKResponse = unknown; export type DeleteWebhooksOrgErrorResponse = unknown; export interface DeleteWebhooksProjectPathParams { org: string; project: string; webhook: string; } export interface DeleteWebhooksProjectHeaderParams { 'Harness-Account'?: string; } export type DeleteWebhooksProjectOKResponse = unknown; export type DeleteWebhooksProjectErrorResponse = unknown; export type DeleteWebhooksOKResponse = T extends DeleteWebhooksProjectPathParams ? ResponseWithPagination : T extends DeleteWebhooksOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type DeleteWebhooksErrorResponse = T extends DeleteWebhooksProjectPathParams ? DeleteWebhooksProjectErrorResponse : T extends DeleteWebhooksOrgPathParams ? DeleteWebhooksOrgErrorResponse : DeleteWebhooksAccountErrorResponse; export interface DeleteWebhooksProps extends Omit, 'url'> { pathParams: DeleteWebhooksAccountPathParams | DeleteWebhooksOrgPathParams | DeleteWebhooksProjectPathParams; } export declare function deleteWebhooks(props: T): Promise>>; export declare function useDeleteWebhooksMutation(options?: Omit, DeleteWebhooksErrorResponse, DeleteWebhooksProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult, unknown, DeleteWebhooksProps, unknown>;