import { UseQueryOptions } from '@tanstack/react-query'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteCertificateAccountPathParams { certificate: string; } export interface DeleteCertificateAccountQueryParams { forceDelete?: boolean; } export interface DeleteCertificateAccountHeaderParams { 'Harness-Account'?: string; } export type DeleteCertificateAccountOKResponse = unknown; export type DeleteCertificateAccountErrorResponse = {}; export interface DeleteCertificateOrgPathParams { org: string; certificate: string; } export interface DeleteCertificateOrgQueryParams { forceDelete?: boolean; } export interface DeleteCertificateOrgHeaderParams { 'Harness-Account'?: string; } export type DeleteCertificateOrgOKResponse = unknown; export type DeleteCertificateOrgErrorResponse = {}; export interface DeleteCertificateProjectPathParams { certificate: string; org: string; project: string; } export interface DeleteCertificateProjectQueryParams { forceDelete?: boolean; } export interface DeleteCertificateProjectHeaderParams { 'Harness-Account'?: string; } export type DeleteCertificateProjectOKResponse = unknown; export type DeleteCertificateProjectErrorResponse = {}; export type DeleteCertificateOKResponse = T extends DeleteCertificateProjectPathParams ? ResponseWithPagination : T extends DeleteCertificateOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type DeleteCertificateErrorResponse = T extends DeleteCertificateProjectPathParams ? DeleteCertificateProjectErrorResponse : T extends DeleteCertificateOrgPathParams ? DeleteCertificateOrgErrorResponse : DeleteCertificateAccountErrorResponse; export interface DeleteCertificateProps extends Omit, 'url'> { pathParams: DeleteCertificateAccountPathParams | DeleteCertificateOrgPathParams | DeleteCertificateProjectPathParams; } export declare function deleteCertificate(props: T): Promise>>; export declare function useDeleteCertificateQuery(props: T, options?: Omit>, DeleteCertificateErrorResponse>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult>, DeleteCertificateErrorResponse>>;