import { UseMutationOptions } from '@tanstack/react-query'; import type { UpdateGitXWebhookResponseResponse } from '../responses/UpdateGitXWebhookResponseResponse'; import type { UpdateGitXWebhookRequestRequestBody } from '../requestBodies/UpdateGitXWebhookRequestRequestBody'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateGitxWebhookRefAccountPathParams { 'gitx-webhook': string; } export interface UpdateGitxWebhookRefAccountHeaderParams { 'Harness-Account'?: string; } export type UpdateGitxWebhookRefAccountRequestBody = UpdateGitXWebhookRequestRequestBody; export type UpdateGitxWebhookRefAccountOKResponse = UpdateGitXWebhookResponseResponse; export type UpdateGitxWebhookRefAccountErrorResponse = unknown; export interface UpdateGitxWebhookRefOrgPathParams { org: string; 'gitx-webhook': string; } export interface UpdateGitxWebhookRefOrgHeaderParams { 'Harness-Account'?: string; } export type UpdateGitxWebhookRefOrgRequestBody = UpdateGitXWebhookRequestRequestBody; export type UpdateGitxWebhookRefOrgOKResponse = UpdateGitXWebhookResponseResponse; export type UpdateGitxWebhookRefOrgErrorResponse = unknown; export interface UpdateGitxWebhookRefProjectPathParams { org: string; project: string; 'gitx-webhook': string; } export interface UpdateGitxWebhookRefProjectHeaderParams { 'Harness-Account'?: string; } export type UpdateGitxWebhookRefProjectRequestBody = UpdateGitXWebhookRequestRequestBody; export type UpdateGitxWebhookRefProjectOKResponse = UpdateGitXWebhookResponseResponse; export type UpdateGitxWebhookRefProjectErrorResponse = unknown; export type UpdateGitxWebhookRefOKResponse = T extends UpdateGitxWebhookRefProjectPathParams ? ResponseWithPagination : T extends UpdateGitxWebhookRefOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type UpdateGitxWebhookRefErrorResponse = T extends UpdateGitxWebhookRefProjectPathParams ? UpdateGitxWebhookRefProjectErrorResponse : T extends UpdateGitxWebhookRefOrgPathParams ? UpdateGitxWebhookRefOrgErrorResponse : UpdateGitxWebhookRefAccountErrorResponse; export interface UpdateGitxWebhookRefProps extends Omit, 'url'> { pathParams: UpdateGitxWebhookRefAccountPathParams | UpdateGitxWebhookRefOrgPathParams | UpdateGitxWebhookRefProjectPathParams; } export declare function updateGitxWebhookRef(props: T): Promise>>; export declare function useUpdateGitxWebhookRefMutation(options?: Omit, UpdateGitxWebhookRefErrorResponse, UpdateGitxWebhookRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult, unknown, UpdateGitxWebhookRefProps, unknown>;