import { UseMutationOptions } from '@tanstack/react-query'; import type { CertificateResponseResponse } from '../responses/CertificateResponseResponse'; import type { UpdateCertificateRequestRequestBody } from '../requestBodies/UpdateCertificateRequestRequestBody'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateCertificateAccountPathParams { certificate: string; } export interface UpdateCertificateAccountHeaderParams { 'Harness-Account'?: string; } export type UpdateCertificateAccountRequestBody = UpdateCertificateRequestRequestBody; export type UpdateCertificateAccountOKResponse = CertificateResponseResponse; export type UpdateCertificateAccountErrorResponse = unknown; export interface UpdateCertificateOrgPathParams { org: string; certificate: string; } export interface UpdateCertificateOrgHeaderParams { 'Harness-Account'?: string; } export type UpdateCertificateOrgRequestBody = UpdateCertificateRequestRequestBody; export type UpdateCertificateOrgOKResponse = CertificateResponseResponse; export type UpdateCertificateOrgErrorResponse = unknown; export interface UpdateCertificateProjectPathParams { certificate: string; org: string; project: string; } export interface UpdateCertificateProjectHeaderParams { 'Harness-Account'?: string; } export type UpdateCertificateProjectRequestBody = UpdateCertificateRequestRequestBody; export type UpdateCertificateProjectOKResponse = CertificateResponseResponse; export type UpdateCertificateProjectErrorResponse = unknown; export type UpdateCertificateOKResponse = T extends UpdateCertificateProjectPathParams ? ResponseWithPagination : T extends UpdateCertificateOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type UpdateCertificateErrorResponse = T extends UpdateCertificateProjectPathParams ? UpdateCertificateProjectErrorResponse : T extends UpdateCertificateOrgPathParams ? UpdateCertificateOrgErrorResponse : UpdateCertificateAccountErrorResponse; export interface UpdateCertificateProps extends Omit, 'url'> { pathParams: UpdateCertificateAccountPathParams | UpdateCertificateOrgPathParams | UpdateCertificateProjectPathParams; } export declare function updateCertificate(props: T): Promise>>; export declare function useUpdateCertificateMutation(options?: Omit, UpdateCertificateErrorResponse, UpdateCertificateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult, unknown, UpdateCertificateProps, unknown>;