TKeyPairExportCallback
Bun

type

crypto.KeyPairExportCallback

type KeyPairExportCallback<T extends KeyPairExportOptions> = (err: Error | null, publicKey: KeyExportResult<T['publicKeyEncoding'], KeyObject>, privateKey: KeyExportResult<T['privateKeyEncoding'], KeyObject>) => void