import Certificate from "pkijs/build/Certificate";
import { ICaStore, CertificateVerifier, VerificationResult, ICertificateVerifyProcRequest } from "./types";
export declare function createChainVerifier(caStore: ICaStore): CertificateVerifier;
export declare function createCertificatesChainFromRequest(request: ICertificateVerifyProcRequest): Certificate[];
export declare function verifyChain(chain: Certificate[], caStore: ICaStore): Promise<VerificationResult>;
export declare function validateHostname(hostname: string, leafCert?: Certificate): any;
export declare function isAllowedDomain(hostname: string, allowedName: string): boolean;
