import { X509Certificate } from "./X509Certificate.js";
import { X509CreateCertificateOptions, X509ValidateCertificateChainOptions } from "./X509ServiceOptions.js";
import { X509ModuleConfig } from "./X509ModuleConfig.js";
import { AgentContext } from "../../agent/context/AgentContext.js";

//#region src/modules/x509/X509Api.d.ts
/**
 * @public
 */
declare class X509Api {
  private agentContext;
  config: X509ModuleConfig;
  constructor(agentContext: AgentContext, config: X509ModuleConfig);
  /**
   * Creates a X.509 certificate.
   *
   * @param options X509CreateCertificateOptions
   */
  createCertificate(options: X509CreateCertificateOptions): Promise<X509Certificate>;
  /**
   * Validate a certificate chain.
   *
   * @param options X509ValidateCertificateChainOptions
   */
  validateCertificateChain(options: X509ValidateCertificateChainOptions): Promise<X509Certificate[]>;
}
//#endregion
export { X509Api };
//# sourceMappingURL=X509Api.d.ts.map