import { UseQueryOptions } from '@tanstack/react-query'; import type { ListGitXWebhookResponseResponse } from '../responses/ListGitXWebhookResponseResponse'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListGitxWebhooksRefAccountPathParams { } export interface ListGitxWebhooksRefAccountQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; webhook_identifier?: string; } export interface ListGitxWebhooksRefAccountHeaderParams { 'Harness-Account'?: string; } export type ListGitxWebhooksRefAccountOKResponse = ListGitXWebhookResponseResponse; export type ListGitxWebhooksRefAccountErrorResponse = unknown; export interface ListGitxWebhooksRefOrgPathParams { org: string; } export interface ListGitxWebhooksRefOrgQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; webhook_identifier?: string; } export interface ListGitxWebhooksRefOrgHeaderParams { 'Harness-Account'?: string; } export type ListGitxWebhooksRefOrgOKResponse = ListGitXWebhookResponseResponse; export type ListGitxWebhooksRefOrgErrorResponse = unknown; export interface ListGitxWebhooksRefProjectPathParams { org: string; project: string; } export interface ListGitxWebhooksRefProjectQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; webhook_identifier?: string; } export interface ListGitxWebhooksRefProjectHeaderParams { 'Harness-Account'?: string; } export type ListGitxWebhooksRefProjectOKResponse = ListGitXWebhookResponseResponse; export type ListGitxWebhooksRefProjectErrorResponse = unknown; export type ListGitxWebhooksRefOKResponse = T extends ListGitxWebhooksRefProjectPathParams ? ResponseWithPagination : T extends ListGitxWebhooksRefOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type ListGitxWebhooksRefErrorResponse = T extends ListGitxWebhooksRefProjectPathParams ? ListGitxWebhooksRefProjectErrorResponse : T extends ListGitxWebhooksRefOrgPathParams ? ListGitxWebhooksRefOrgErrorResponse : ListGitxWebhooksRefAccountErrorResponse; export interface ListGitxWebhooksRefProps extends Omit, 'url'> { pathParams: ListGitxWebhooksRefAccountPathParams | ListGitxWebhooksRefOrgPathParams | ListGitxWebhooksRefProjectPathParams; } export declare function listGitxWebhooksRef(props: T): Promise>>; export declare function useListGitxWebhooksRefQuery(props: T, options?: Omit>, ListGitxWebhooksRefErrorResponse>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult>, ListGitxWebhooksRefErrorResponse>>;