/** * @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 { Name as AsnName } from '@peculiar/asn1-x509'; export interface INameJSON { type: string; value: string; short: string; } export declare class Name { static parse(data: BufferSource | AsnName): INameJSON[]; } /** First CN, E or O value, in name order; used as a display and file name. */ export declare const firstCommonName: (names?: INameJSON[]) => string; export declare const nameToString: (names?: INameJSON[]) => string;