import { UseQueryOptions } from '@tanstack/react-query'; import type { ManifestsResponseDtoResponse } from '../responses/ManifestsResponseDtoResponse'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetPrimaryManifestsRefAccountPathParams { service: string; } export interface GetPrimaryManifestsRefAccountHeaderParams { 'Harness-Account'?: string; } export type GetPrimaryManifestsRefAccountOKResponse = ManifestsResponseDtoResponse; export type GetPrimaryManifestsRefAccountErrorResponse = unknown; export interface GetPrimaryManifestsRefOrgPathParams { service: string; org: string; } export interface GetPrimaryManifestsRefOrgHeaderParams { 'Harness-Account'?: string; } export type GetPrimaryManifestsRefOrgOKResponse = ManifestsResponseDtoResponse; export type GetPrimaryManifestsRefOrgErrorResponse = unknown; export interface GetPrimaryManifestsRefProjectPathParams { service: string; org: string; project: string; } export interface GetPrimaryManifestsRefProjectHeaderParams { 'Harness-Account'?: string; } export type GetPrimaryManifestsRefProjectOKResponse = ManifestsResponseDtoResponse; export type GetPrimaryManifestsRefProjectErrorResponse = unknown; export type GetPrimaryManifestsRefOKResponse = T extends GetPrimaryManifestsRefProjectPathParams ? ResponseWithPagination : T extends GetPrimaryManifestsRefOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type GetPrimaryManifestsRefErrorResponse = T extends GetPrimaryManifestsRefProjectPathParams ? GetPrimaryManifestsRefProjectErrorResponse : T extends GetPrimaryManifestsRefOrgPathParams ? GetPrimaryManifestsRefOrgErrorResponse : GetPrimaryManifestsRefAccountErrorResponse; export interface GetPrimaryManifestsRefProps extends Omit, 'url'> { pathParams: GetPrimaryManifestsRefAccountPathParams | GetPrimaryManifestsRefOrgPathParams | GetPrimaryManifestsRefProjectPathParams; } export declare function getPrimaryManifestsRef(props: T): Promise>>; export declare function useGetPrimaryManifestsRefQuery(props: T, options?: Omit>, GetPrimaryManifestsRefErrorResponse>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult>, GetPrimaryManifestsRefErrorResponse>>;