import { UseMutationOptions } from '@tanstack/react-query'; import type { CertificateResponseResponse } from '../responses/CertificateResponseResponse'; import type { CreateCertificateRequestRequestBody } from '../requestBodies/CreateCertificateRequestRequestBody'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface CreateCertificateAccountPathParams { } export interface CreateCertificateAccountHeaderParams { 'Harness-Account'?: string; } export type CreateCertificateAccountRequestBody = CreateCertificateRequestRequestBody; export type CreateCertificateAccountOKResponse = CertificateResponseResponse; export type CreateCertificateAccountErrorResponse = unknown; export interface CreateCertificateOrgPathParams { org: string; } export interface CreateCertificateOrgHeaderParams { 'Harness-Account'?: string; } export type CreateCertificateOrgRequestBody = CreateCertificateRequestRequestBody; export type CreateCertificateOrgOKResponse = CertificateResponseResponse; export type CreateCertificateOrgErrorResponse = unknown; export interface CreateCertificateProjectPathParams { org: string; project: string; } export interface CreateCertificateProjectHeaderParams { 'Harness-Account'?: string; } export type CreateCertificateProjectRequestBody = CreateCertificateRequestRequestBody; export type CreateCertificateProjectOKResponse = CertificateResponseResponse; export type CreateCertificateProjectErrorResponse = unknown; export type CreateCertificateOKResponse = T extends CreateCertificateProjectPathParams ? ResponseWithPagination : T extends CreateCertificateOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type CreateCertificateErrorResponse = T extends CreateCertificateProjectPathParams ? CreateCertificateProjectErrorResponse : T extends CreateCertificateOrgPathParams ? CreateCertificateOrgErrorResponse : CreateCertificateAccountErrorResponse; export interface CreateCertificateProps extends Omit, 'url'> { pathParams: CreateCertificateAccountPathParams | CreateCertificateOrgPathParams | CreateCertificateProjectPathParams; } export declare function createCertificate(props: T): Promise>>; export declare function useCreateCertificateMutation(options?: Omit, CreateCertificateErrorResponse, CreateCertificateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult, unknown, CreateCertificateProps, unknown>;