export declare class Certs { #private; constructor(); list(): string[]; /** * Loads the certs.json in this package */ static import(): Promise; static fromJSON(d: Record): Promise; /** * Saves the certs into a JSON file * @param file */ save(file: string): Promise; /** * Stores the certificates in the specified directory * @param dir */ store(dir: string): Promise; get(n: string): Promise; /** * Parses a JSON file as a Certs * @param file */ static fromFile(file: string): Promise; /** * Looks for .crt|.key|.pem files in a directory and returns a Certs * @param dir */ static fromDir(dir: string): Promise; }