import { UseQueryOptions } from '@tanstack/react-query'; import type { GithubPackagesResponse } from '../schemas/GithubPackagesResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetGithubPackagesQueryPathParams { org: string; project: string; } export interface GetGithubPackagesQueryQueryParams { connector_ref?: string; package_type: string; github_org?: string; } export interface GetGithubPackagesQueryHeaderParams { 'Harness-Account'?: string; } export type GetGithubPackagesOkResponse = ResponseWithPagination; export type GetGithubPackagesErrorResponse = unknown; export interface GetGithubPackagesProps extends GetGithubPackagesQueryPathParams, Omit, 'url'> { queryParams: GetGithubPackagesQueryQueryParams; } export declare function getGithubPackages(props: GetGithubPackagesProps): Promise; /** * Retrieves package details for GitHub Packages */ export declare function useGetGithubPackagesQuery(props: GetGithubPackagesProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;