/**
 * Child Process Cryptographic Operations
 * Shared utilities for crypto operations via child processes for VSCode compatibility
 */
/**
 * Generate cryptographic signature using child process
 * @param privateKey PEM-formatted private key
 * @param passphrase Optional passphrase for encrypted keys
 * @param data Data to sign
 * @param keyType SSH key type (e.g., 'ssh-rsa', 'ssh-ed25519')
 * @returns Signature buffer
 */
export declare function signWithSystemCrypto(privateKey: string, passphrase: string | undefined, data: Buffer, keyType?: string): Buffer;
/**
 * Extract public key from private key using child process
 * @param privateKeyPem PEM-formatted private key
 * @param keyType SSH key type
 * @returns Public key in PEM format
 */
export declare function extractPublicKeyWithChildProcess(privateKeyPem: string, keyType: string): string;
/**
 * Derive key using bcrypt-pbkdf algorithm via child process
 * @param passphrase Password for key derivation
 * @param salt Salt for key derivation
 * @param rounds Number of bcrypt rounds
 * @param keyLength Length of derived key in bytes
 * @returns Derived key buffer
 */
export declare function deriveBcryptPbkdfWithChildProcess(passphrase: string, salt: Buffer, rounds: number, keyLength: number): Buffer;
/**
 * Decrypt data using AES with child process
 * @param encryptedData Encrypted data buffer
 * @param key Decryption key
 * @param iv Initialization vector
 * @param algorithm AES algorithm (e.g., 'aes-128-ctr')
 * @returns Decrypted data buffer
 */
export declare function decryptWithChildProcess(encryptedData: Buffer, key: Buffer, iv: Buffer, algorithm: string): Buffer;
//# sourceMappingURL=child-process-crypto.d.ts.map