import { UseQueryOptions } from '@tanstack/react-query'; import type { GithubPackageVersionsResponse } from '../schemas/GithubPackageVersionsResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetAccountScopedGithubPackagesVersionsQueryQueryParams { connector_ref: string; package_name: string; package_type: string; github_org?: string; version_regex?: string; } export interface GetAccountScopedGithubPackagesVersionsQueryHeaderParams { 'Harness-Account'?: string; } export type GetAccountScopedGithubPackagesVersionsOkResponse = ResponseWithPagination; export type GetAccountScopedGithubPackagesVersionsErrorResponse = unknown; export interface GetAccountScopedGithubPackagesVersionsProps extends Omit, 'url'> { queryParams: GetAccountScopedGithubPackagesVersionsQueryQueryParams; } export declare function getAccountScopedGithubPackagesVersions(props: GetAccountScopedGithubPackagesVersionsProps): Promise; /** * Retrieves versions from GitHub packages at account scope */ export declare function useGetAccountScopedGithubPackagesVersionsQuery(props: GetAccountScopedGithubPackagesVersionsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;