import { UseQueryOptions } from '@tanstack/react-query'; import type { ListGitXWebhookBranchesResponseResponse } from '../responses/ListGitXWebhookBranchesResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListWebhookEventBranchesQueryQueryParams { org?: string; project?: string; webhook_identifier?: string; repo_name?: string; connector_ref?: string; include_parent_scope?: boolean; } export interface ListWebhookEventBranchesQueryHeaderParams { 'Harness-Account'?: string; } export type ListWebhookEventBranchesOkResponse = ResponseWithPagination; export type ListWebhookEventBranchesErrorResponse = unknown; export interface ListWebhookEventBranchesProps extends Omit, 'url'> { queryParams: ListWebhookEventBranchesQueryQueryParams; } export declare function listWebhookEventBranches(props: ListWebhookEventBranchesProps): Promise; /** * List branches for webhook events. */ export declare function useListWebhookEventBranchesQuery(props: ListWebhookEventBranchesProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;