import { JWTAlgorithm } from '@authup/specs'; import { BaseKey } from '../base'; import { CryptoAsymmetricAlgorithm } from './constants'; import type { AsymmetricKeyImportContext } from './types'; export declare class AsymmetricKey extends BaseKey { toPem(): Promise; static fromPem(ctx: AsymmetricKeyImportContext): Promise; static fromBase64(ctx: AsymmetricKeyImportContext): Promise; static fromArrayBuffer(ctx: AsymmetricKeyImportContext): Promise; static buildImportOptionsForJWTAlgorithm(alg: `${JWTAlgorithm}`): { name: CryptoAsymmetricAlgorithm; hash: string; namedCurve?: undefined; } | { name: CryptoAsymmetricAlgorithm; namedCurve: string; hash?: undefined; }; } //# sourceMappingURL=module.d.ts.map