import { UseMutationOptions } from '@tanstack/react-query'; import type { ManifestsResponseDtoResponse } from '../responses/ManifestsResponseDtoResponse'; import type { GitEntityFindInfoRequestBodyRequestBody } from '../requestBodies/GitEntityFindInfoRequestBodyRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface PostPrimaryManifestsMutationPathParams { service: string; org: string; project: string; } export interface PostPrimaryManifestsMutationHeaderParams { 'Harness-Account'?: string; } export type PostPrimaryManifestsRequestBody = GitEntityFindInfoRequestBodyRequestBody; export type PostPrimaryManifestsOkResponse = ResponseWithPagination; export type PostPrimaryManifestsErrorResponse = unknown; export interface PostPrimaryManifestsProps extends PostPrimaryManifestsMutationPathParams, Omit, 'url'> { body: PostPrimaryManifestsRequestBody; } export declare function postPrimaryManifests(props: PostPrimaryManifestsProps): Promise; /** * Returns a list of eligible primary manifests from all configured manifest in a project-scoped service. */ export declare function usePostPrimaryManifestsMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;