/** * @license * Copyright (c) Peculiar Ventures, LLC. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { EventEmitter } from '../../stencil-public-runtime'; import { X509Certificate, X509AttributeCertificate, Pkcs10CertificateRequest, X509Crl, X509Certificates, SshCertificate } from '../../crypto'; export declare class CertificateDecoder { private inputPaste?; /** * The example certificate value for decode and show details. Use PEM or DER. */ certificateExamples?: { title: string; value: string; }[]; /** * The default certificate value for decode and show details. Use PEM or DER. */ certificateToDecode?: string; certificateDecoded: X509Certificates | X509Certificate | X509AttributeCertificate | Pkcs10CertificateRequest | X509Crl | SshCertificate; /** * Emitted when the certificate has been successfully parsed. */ successParse: EventEmitter; /** * Emitted when the certificate has been removed. */ clearCertificate: EventEmitter; componentDidLoad(): void; private handleClickDecode; private handleClickClear; private handleChangeInputFile; private handleChangeExample; private handleDropFile; clearValue(): void; setValue(value: typeof this.certificateDecoded): Promise; decode(value: string): Promise; renderCertificate(): any; render(): any; }