import { UseQueryOptions } from '@tanstack/react-query'; import type { GetGitXWebhookResponseResponse } from '../responses/GetGitXWebhookResponseResponse'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetGitxWebhookRefAccountPathParams { 'gitx-webhook': string; } export interface GetGitxWebhookRefAccountHeaderParams { 'Harness-Account'?: string; } export type GetGitxWebhookRefAccountOKResponse = GetGitXWebhookResponseResponse; export type GetGitxWebhookRefAccountErrorResponse = unknown; export interface GetGitxWebhookRefOrgPathParams { org: string; 'gitx-webhook': string; } export interface GetGitxWebhookRefOrgHeaderParams { 'Harness-Account'?: string; } export type GetGitxWebhookRefOrgOKResponse = GetGitXWebhookResponseResponse; export type GetGitxWebhookRefOrgErrorResponse = unknown; export interface GetGitxWebhookRefProjectPathParams { org: string; project: string; 'gitx-webhook': string; } export interface GetGitxWebhookRefProjectHeaderParams { 'Harness-Account'?: string; } export type GetGitxWebhookRefProjectOKResponse = GetGitXWebhookResponseResponse; export type GetGitxWebhookRefProjectErrorResponse = unknown; export type GetGitxWebhookRefOKResponse = T extends GetGitxWebhookRefProjectPathParams ? ResponseWithPagination : T extends GetGitxWebhookRefOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type GetGitxWebhookRefErrorResponse = T extends GetGitxWebhookRefProjectPathParams ? GetGitxWebhookRefProjectErrorResponse : T extends GetGitxWebhookRefOrgPathParams ? GetGitxWebhookRefOrgErrorResponse : GetGitxWebhookRefAccountErrorResponse; export interface GetGitxWebhookRefProps extends Omit, 'url'> { pathParams: GetGitxWebhookRefAccountPathParams | GetGitxWebhookRefOrgPathParams | GetGitxWebhookRefProjectPathParams; } export declare function getGitxWebhookRef(props: T): Promise>>; export declare function useGetGitxWebhookRefQuery(props: T, options?: Omit>, GetGitxWebhookRefErrorResponse>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult>, GetGitxWebhookRefErrorResponse>>;