import { KeyPair } from '@microsoft/dev-tunnels-ssh'; import { KeyFormatter } from './keyFormatter'; import { KeyData } from './keyData'; /** Provides import/export of the PKCS#1 key format. */ export declare class Pkcs1KeyFormatter implements KeyFormatter { private static readonly publicKeyType; private static readonly privateKeyType; import(keyData: KeyData): Promise; export(keyPair: KeyPair, includePrivate: boolean): Promise; decrypt(keyData: KeyData, passphrase: string | null): Promise; encrypt(keyData: KeyData, passphrase: string): Promise; private static formatRsaPublic; private static formatRsaPrivate; private static parseRsaPublic; private static parseRsaPrivate; private static deriveDecryptionKey; } //# sourceMappingURL=pkcs1KeyFormatter.d.ts.map