export type SupportedAlg = "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512";
export declare function algForJwk(jwk: {
    kty: string;
    crv?: string;
    alg?: string;
}): SupportedAlg;
export declare function importParamsForJwk(jwk: {
    kty: string;
    crv?: string;
}, alg: string): RsaHashedImportParams | EcKeyImportParams;
/**
 * The set of `id_token_signing_alg_values_supported` we currently advertise.
 * Derived from the algorithms we can actually issue + verify.
 */
export declare const SUPPORTED_ID_TOKEN_SIGNING_ALGS: SupportedAlg[];
/**
 * Derive the JWS signing algorithm to use with a signing key, by inspecting
 * the public-key material embedded in its X.509 cert.
 */
export declare function algForCert(certPem: string): Promise<SupportedAlg>;
