import { UseMutationOptions } from '@tanstack/react-query'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteGitxWebhookRefAccountPathParams { 'gitx-webhook': string; } export interface DeleteGitxWebhookRefAccountHeaderParams { 'Harness-Account'?: string; } export type DeleteGitxWebhookRefAccountOKResponse = unknown; export type DeleteGitxWebhookRefAccountErrorResponse = unknown; export interface DeleteGitxWebhookRefOrgPathParams { org: string; 'gitx-webhook': string; } export interface DeleteGitxWebhookRefOrgHeaderParams { 'Harness-Account'?: string; } export type DeleteGitxWebhookRefOrgOKResponse = unknown; export type DeleteGitxWebhookRefOrgErrorResponse = unknown; export interface DeleteGitxWebhookRefProjectPathParams { org: string; project: string; 'gitx-webhook': string; } export interface DeleteGitxWebhookRefProjectHeaderParams { 'Harness-Account'?: string; } export type DeleteGitxWebhookRefProjectOKResponse = unknown; export type DeleteGitxWebhookRefProjectErrorResponse = unknown; export type DeleteGitxWebhookRefOKResponse = T extends DeleteGitxWebhookRefProjectPathParams ? ResponseWithPagination : T extends DeleteGitxWebhookRefOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type DeleteGitxWebhookRefErrorResponse = T extends DeleteGitxWebhookRefProjectPathParams ? DeleteGitxWebhookRefProjectErrorResponse : T extends DeleteGitxWebhookRefOrgPathParams ? DeleteGitxWebhookRefOrgErrorResponse : DeleteGitxWebhookRefAccountErrorResponse; export interface DeleteGitxWebhookRefProps extends Omit, 'url'> { pathParams: DeleteGitxWebhookRefAccountPathParams | DeleteGitxWebhookRefOrgPathParams | DeleteGitxWebhookRefProjectPathParams; } export declare function deleteGitxWebhookRef(props: T): Promise>>; export declare function useDeleteGitxWebhookRefMutation(options?: Omit, DeleteGitxWebhookRefErrorResponse, DeleteGitxWebhookRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult, unknown, DeleteGitxWebhookRefProps, unknown>;